Open
Description
Description of the issue
I am trying to check the unitary of acirq.PauliStringPhasor
. I don't get what I expect.
How to reproduce the issue
import cirq
qubits = cirq.LineQubit.range(2)
phasor = cirq.PauliStringPhasor(cirq.Z(qubits[0]), qubits, exponent_neg=1)
circuit = cirq.Circuit(phasor)
print(circuit)
print(cirq.unitary(circuit))
The unitary this generates represents a Z⊗Z, not Z⊗I
Cirq version
1.4.0.dev20240403011731