deltakit.circuit.gates.OneQubitGate#
- class deltakit.circuit.gates.OneQubitGate(qubit: Qubit[T] | T, *, tag: str | None = None)#
Bases:
Gate[T]Abstraction of a single qubit gate. This is the base class for all one qubit gates including measurements, resets and Clifford gates.
- stim_string#
The string that stim associates to this gate.
- Type:
str
- Parameters:
qubit (Qubit[T] | T) – The qubit that this gate acts on.
Methods#
Convert the qubits this gate acts on to equivalent stim targets. |
|
Transform this gates's qubits according to the id mapping. |