Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Fully qualified name: Std.Canon.SwapReverseRegister
operation SwapReverseRegister(register : Qubit[]) : Unit is Adj + Ctl
Summary
Uses SWAP gates to reverse the order of the qubits in a register.
Input
register
The qubits order of which should be reversed using SWAP gates