qml.labs.intermediate_reps¶
Quantum circuit intermediate representations¶
Intermediate representations (IRs) are alternative representations of quantum circuits, typically offering a more efficient classical description for special classes of circuits.
|
Compute the parity matrix intermediate representation of a CNOT circuit. |
|
Phase polynomial intermediate representation for circuits consisting of CNOT and RZ gates. |
|
Post-order traverse a tree graph, starting from (but excluding) the node |
|
Pre-order traverse a tree graph, starting from (but excluding) the node |
|
CNOT routing algorithm ROWCOL. |