Side#
qualtran.Side
View source on GitHub
|
Denote LEFT, RIGHT, or THRU registers.
LEFT registers serve as input lines (only) to the Bloq. RIGHT registers are output lines (only) from the Bloq. THRU registers are both input and output.
Traditional unitary operations will have THRU registers that operate on a collection of qubits which are then made available to following operations. RIGHT and LEFT registers imply allocation, deallocation, or reshaping of the registers.
View source on GitHub