Get the index of the control qubit when this operation is applied: either 0 or 1.
Declaration Syntax
C# | Visual Basic | Visual C++ |
int GetControlIndex()
Function GetControlIndex As Integer
int GetControlIndex()
Return Value
The control index: 0 or 1