cirq.SingleQubitCliffordGate.from_single_map

static SingleQubitCliffordGate.from_single_map(pauli_map_to: Optional[Dict[cirq.ops.pauli.Pauli, Tuple[cirq.ops.pauli.Pauli, bool]]] = None, *, x_to: Optional[Tuple[cirq.ops.pauli.Pauli, bool]] = None, y_to: Optional[Tuple[cirq.ops.pauli.Pauli, bool]] = None, z_to: Optional[Tuple[cirq.ops.pauli.Pauli, bool]] = None) → cirq.ops.clifford_gate.SingleQubitCliffordGate[source]
Returns a SingleQubitCliffordGate for the
specified transform with a 90 or 180 degree rotation.

The arguments are exclusive, only one may be specified.

Parameters:
  • pauli_map_to – A dictionary with a single key value pair describing the transform.
  • x_to – The transform from Pauli.X
  • y_to – The transform from Pauli.Y
  • z_to – The transform from Pauli.Z