jet.Operation

class Operation(part: Union[jet.gate.Gate, jet.state.State], wire_ids: Sequence[int])[source]

Bases: object

Operation represents the application of a gate or state to a Circuit.

Parameters
  • part (jet.Gate or jet.State) – Gate or state applied to the circuit.

  • wire_ids (Sequence[int]) – ID(s) of the wires connected to the part.