Get how the exposed indices in the register match up to the target indices in the operation. The result can be used in matrix expansion and reordering.
|C#||Visual Basic||Visual C++|
protected internal < > GetAppliedIndices( < > OperationTargets )
Protected Friend Function GetAppliedIndices ( _ OperationTargets As (Of ) _ ) As (Of )
protected public: < >^ GetAppliedIndices( < >^ OperationTargets )
- OperationTargets (<(Of <(>)>))
- The target qubits for the operation. The element number is the position in the standard application, the value is the target. So if the operation is in standard order then the value of each element is the index, ie ActualAppliedQubits[x] = x.
Assembly: Cove.LocalSimulation (Module: Cove.LocalSimulation) Version: 18.104.22.168 (22.214.171.124)
The correct ordering that the operation applies to.