Get the index of the control qubit when this operation is applied: either 0 or 1.

C# | Visual Basic | Visual C++ |
int GetControlIndex()
Function GetControlIndex As Integer
int GetControlIndex()

The control index: 0 or 1
C# | Visual Basic | Visual C++ |
int GetControlIndex()
Function GetControlIndex As Integer
int GetControlIndex()