deltakit.circuit.gates.OneQubitResetGate#

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

Bases: OneQubitGate[T]

Gate for the abstract single qubit reset gate. :param qubit: The qubit that this gate acts on. :type qubit: Qubit[T] | T

stim_string#

The string that stim associates with this gate.

Type:

str

Methods#

OneQubitResetGate.stim_targets

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

OneQubitResetGate.transform_qubits

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