deltakit.circuit.gates.I#

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

Bases: OneQubitCliffordGate[T]

Identity gate. Does nothing to the target qubit.

Parameters:

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

Notes

Stabiliser Generators:
X -> +X
Z -> +Z
Bloch Rotation:
Axis:
Angle: 0 degrees.
Unitary Matrix:
\[\begin{split}\begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix}\end{split}\]

Methods#

I.stim_targets

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

I.transform_qubits

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