Performs a swap gate, exchanging the quantum states of two qubits.
Namespace: Microsoft.Research.LiquidAssembly: Liquid1 (in Liquid1.dll) Version: 1.0.5981.24943 (1.0.*)
Syntax static member SWAP :
qs : FSharpList<Qubit> -> unit
Parameters
- qs
- Type: Microsoft.FSharp.CollectionsFSharpListQubit
The states of the first two qubits in the list are swapped.
See Also