NumberOfQubitsOperatesOn Method
Cove - A Practical Quantum Computer Programming Framework
NumberOfQubitsOperatesOn Method
NamespacesCove.LocalSimulationGeneralSimulatedOperationNumberOfQubitsOperatesOn()()()
Return the number of qubits that this operation operates on. The number of qubits it operates on is the highest target qubit. Example: If a Toffolli operation targets qubit indexes 4, 2, 6 in a register then this will return 7 (index 6 is the 7th qubit).
Declaration Syntax
C#Visual BasicVisual C++
public int NumberOfQubitsOperatesOn()
Public Function NumberOfQubitsOperatesOn As Integer
public:
virtual int NumberOfQubitsOperatesOn() sealed
Return Value

[Missing <returns> documentation for M:Cove.LocalSimulation.GeneralSimulatedOperation.NumberOfQubitsOperatesOn]

Assembly: Cove.LocalSimulation (Module: Cove.LocalSimulation) Version: 1.0.0.0 (1.0.0.0)