Click or drag to resize
OperationsSWAP Method
Performs a swap gate, exchanging the quantum states of two qubits.

Namespace: Microsoft.Research.Liquid
Assembly: Liquid1 (in Liquid1.dll) Version: 1.0.5981.24943 (1.0.*)
Syntax
F#
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