Extensions performing Swap operations.
Inheritance Hierarchy
Quantum.Operations SwapExtension
Namespace: Quantum.Operations
Assembly: Quantum (in Quantum.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
The SwapExtension type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() ![]() | Reverse | |
![]() ![]() | Swap(QuantumComputer, RegisterRef, RegisterRef) |
Swaps the values of two given qubits.
|
![]() ![]() | Swap(QuantumComputer, Register, Register, RegisterRef) |
The controlled Swap. Swaps the values of two given qubits, if the control qubit is set.
|
See Also