deltakit.circuit.gates.OneQubitCliffordGate#

class deltakit.circuit.gates.OneQubitCliffordGate(qubit: Qubit[T] | T, *, tag: str | None = None)#

Bases: OneQubitGate[T]

Gate for the abstract single qubit Clifford gate.

Parameters:

qubit (Qubit[T] | T) – The qubit that this gate acts on.

stim_string#

The string that stim associates with this gate.

Type:

str

Methods#

OneQubitCliffordGate.stim_targets

Convert the qubits this gate acts on to equivalent stim targets.

OneQubitCliffordGate.transform_qubits

Transform this gates's qubits according to the id mapping.