Cove - A Practical Quantum Computer Programming Framework
NumberOfQubitsOperatesOn Method
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.
Declaration Syntax
C#Visual BasicVisual C++
int NumberOfQubitsOperatesOn()
Function NumberOfQubitsOperatesOn As Integer
int NumberOfQubitsOperatesOn()
Return Value
The number of qubits the operation operates on.

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