def narrow_unitary(self) -> np.ndarray:
        """Narrowed unitary corresponding to the unitary effect applied on target qubits."""
        phase = np.exp(1j * np.pi * self.theta)
        return _matrix_for_phasing_state(self.target_bitsize, self.phase_state, phase)
Narrowed unitary corresponding to the unitary effect applied on target qubits.
cirq-core/cirq/testing/sample_gates.py