deltakit.circuit.InvertiblePauliY#

class deltakit.circuit.InvertiblePauliY(qubit: Qubit[T] | T, invert: bool = False)#

Bases: InvertiblePauliGate[T]

Representation of a Y 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 Y gate on.

  • invert (bool, optional) – Whether to invert the result of this gate measurement, by default False.

Methods#

InvertiblePauliY.stim_targets

Get the stim target for this gate.

InvertiblePauliY.transform_qubits

Transform this noise channel's qubits according to the id mapping.