FlipTargetAndControlIndexes Method
Cove - A Practical Quantum Computer Programming Framework
FlipTargetAndControlIndexes Method
NamespacesCove.LocalSimulationOperationCNotFlipTargetAndControlIndexes()()()
Whatever the target and control indexes are, they will be flipped. Example: if index 0 is control and index 1 is target, after this call index 0 will be target and index 1 will be control.
Declaration Syntax
C#Visual BasicVisual C++
public IOperationCNot FlipTargetAndControlIndexes()
Public Function FlipTargetAndControlIndexes As IOperationCNot
public:
virtual IOperationCNot^ FlipTargetAndControlIndexes() sealed
Return Value
A reference to this operation after this method has been performed.

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