Returns the number of qubits that the operation operates on. For example
a CNot operation would return 2 since there are two qubits, target and control.

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

The number of qubits the operation operates on.