NumberOfQubitsOperatesOn Method
Cove - A Practical Quantum Computer Programming Framework
NumberOfQubitsOperatesOn Method
NamespacesCove.BaseIQuantumOperationNumberOfQubitsOperatesOn()()()
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: 1.0.0.0 (1.0.0.0)