cirq.SingleQubitCliffordGate.from_xz_map

static SingleQubitCliffordGate.from_xz_map(x_to: Tuple[cirq.ops.pauli.Pauli, bool], z_to: Tuple[cirq.ops.pauli.Pauli, bool]) → cirq.ops.clifford_gate.SingleQubitCliffordGate[source]
Returns a SingleQubitCliffordGate for the specified transforms.
The Y transform is derived from the X and Z.
Parameters:
  • x_to – Which Pauli to transform X to and if it should negate.
  • z_to – Which Pauli to transform Z to and if it should negate.