SwapExtension ClassA Sandcastle Documented Class Library
Extensions performing Swap operations.
Inheritance Hierarchy

System Object
  Quantum.Operations SwapExtension

Namespace: Quantum.Operations
Assembly: Quantum (in Quantum.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static class SwapExtension

The SwapExtension type exposes the following members.

Methods

  NameDescription
Public methodStatic memberReverse
Public methodStatic memberSwap(QuantumComputer, RegisterRef, RegisterRef)
Swaps the values of two given qubits.
Public methodStatic memberSwap(QuantumComputer, Register, Register, RegisterRef)
The controlled Swap. Swaps the values of two given qubits, if the control qubit is set.
Top
See Also