Cove - A Practical Quantum Computer Programming Framework
InsertQubitsAtBeginning Method (NumberOfQubitsToAdd)
NamespacesCove.LocalSimulationQuantumRegisterInsertQubitsAtBeginning(Int32)
Insert a number of qubits at the beginning of the register. All other qubits are shifted to higher indexes.
Declaration Syntax
C#Visual BasicVisual C++
public IQuantumRegister InsertQubitsAtBeginning(
	int NumberOfQubitsToAdd
)
Public Function InsertQubitsAtBeginning ( _
	NumberOfQubitsToAdd As Integer _
) As IQuantumRegister
public:
virtual IQuantumRegister^ InsertQubitsAtBeginning(
	int NumberOfQubitsToAdd
) sealed
Parameters
NumberOfQubitsToAdd (Int32)
The number of qubits to add to the register.
Return Value
A reference to the expanded register.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThrown if this insert causes the register to exceed the maximum allowable size.
NotImplementedExceptionThis method is not yet implemented.

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