Cove - A Practical Quantum Computer Programming Framework
OperationToffoli Method
Apply the Toffoli (controlled controlled not) operation to the register. The lowest two indexes are the control and the highest is the target.
Declaration Syntax
C#Visual BasicVisual C++
public IQuantumRegister OperationToffoli()
Public Function OperationToffoli As IQuantumRegister
virtual IQuantumRegister^ OperationToffoli() sealed
Return Value
A reference to this register after the operation has been applied.
SizeMismatchExceptionThrown if the register does not contain 3 qubits.
DuplicateIndexesExceptionThrown if the indexes specified refer to the same qubit.

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