deltakit.circuit.InvertiblePauliX#
- class deltakit.circuit.InvertiblePauliX(qubit: Qubit[T] | T, invert: bool = False)#
Bases:
InvertiblePauliGate[T]Representation of an X gate measurement on a single qubit the result of which can be inverted. Needed for measuring Pauli products.
- Parameters:
qubit (Qubit[T] | T) – The qubit to act the X gate on.
invert (bool, optional) – Whether to invert the result of this gate measurement, by default False.
Methods#
Get the stim target for this gate. |
|
Transform this noise channel's qubits according to the id mapping. |