Cove - A Practical Quantum Computer Programming Framework
FlipTargetAndControlIndexes Method
NamespacesCove.BaseIOperationCNotFlipTargetAndControlIndexes()()()
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++
IOperationCNot FlipTargetAndControlIndexes()
Function FlipTargetAndControlIndexes As IOperationCNot
IOperationCNot^ FlipTargetAndControlIndexes()
Return Value
A reference to this operation after this method has been performed.

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