Cove - A Practical Quantum Computer Programming Framework
OperationFredkin Method (Indexes)
NamespacesCove.LocalSimulationQuantumRegisterOperationFredkin(array<Int32>[]()[])
Perform the Fredkin operation (controlled swap).
Declaration Syntax
C#Visual BasicVisual C++
public IQuantumRegister OperationFredkin(
	int[] Indexes
)
Public Function OperationFredkin ( _
	Indexes As Integer() _
) As IQuantumRegister
public:
virtual IQuantumRegister^ OperationFredkin(
	array<int>^ Indexes
) sealed
Parameters
Indexes (array< Int32 >[]()[])
Indexes of the qubits to perform the operation on. The first is the control, the second and third are the ones to swap.
Return Value
A reference to this register after the operation has been applied.
Exceptions
ExceptionCondition
IndexOutOfRangeExceptionThrown if the indexes specified do not exist in the register.
DuplicateIndexesExceptionThrown if the indexes specified refer to the same qubit.
NotImplementedExceptionThis method is not yet implemented.

Assembly: Cove.LocalSimulation (Module: Cove.LocalSimulation) Version: 1.0.0.0 (1.0.0.0)