Gate Operations
Gate type-system hierarchy
Abstraction of types for representing gates.
QXZoo.GateOps.AGate — TypeAbstract Gate type
QXZoo.GateOps.AGateSymbol — TypeAbstract Gate Label, for unique gates
QXZoo.GateOps.AGateCall — TypeAbstract Gate Call, for tracking Gate labels applied to specific qubits
GateSymbol and GateCall
Specific gate instance in a circuit, applied to a given (set of) qubit(s).
QXZoo.GateOps.GateSymbol — TypeGate label. Tracks the gate symbol (:x,:y,:z, etc)
QXZoo.GateOps.GateSymbolP — TypeGate label with params. Tracks the gate symbol (:x,:y,:z, etc)
QXZoo.GateOps.GateCall1 — TypeSingle qubit Gate call. Has a GateSymbol, target qubit index
QXZoo.GateOps.GateCall2 — TypeTwo qubit Gate call. Has a GateSymbol, control and target qubit indices, and base gate.
QXZoo.GateOps.GateCallN — Typen-qubit Gate call. Has a GateSymbol, control vector indices, target qubit index, and base gate.
QXZoo.GateOps.Gate — TypeWrap of Matrix to fit type system hierarchy