listTargetQubits Field
Cove - A Practical Quantum Computer Programming Framework
listTargetQubits Field
Represents the targets for the various qubits the operation operates on. Index represents the standard target, value represents the actual target. Example: In a standard CNot the first (index 0) qubit is the control and the second (index 1) is the target. The list will be 2 elements with element 0 representing the control and element 1 representing the target. If the list is then {3, 0} this means that the control targets index 3 of the target register and the target of the operation is index 0 of the target register.
Declaration Syntax
C#Visual BasicVisual C++
protected internal List<int> listTargetQubits
Protected Friend listTargetQubits As List(Of Integer)
protected public:
List<int>^ listTargetQubits

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