Module utils

Source
Expand description

Utility module for gate composition and decomposition

Functions§

clone_gate
Clone a gate by creating a new instance of the same concrete type
decompose_circuit
Decompose a circuit into a sequence of standard gates
optimize_gate_sequence
Try to optimize a sequence of gates

Type Aliases§

GateSequence
Type alias for a sequence of gates