cirq.SingleQubitCliffordGate.from_double_map¶
-
static
SingleQubitCliffordGate.from_double_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 thespecified transform with a 90 or 180 degree rotation.
Either pauli_map_to or two of (x_to, y_to, z_to) may be specified.
Parameters: - pauli_map_to – A dictionary with two key value pairs describing two transforms.
- x_to – The transform from Pauli.X
- y_to – The transform from Pauli.Y
- z_to – The transform from Pauli.Z