Cove - A Practical Quantum Computer Programming Framework
InsertQubitsAtEnd Method (NumberOfQubitsToAdd, InitializeTo)
NamespacesCove.LocalSimulationQuantumRegisterInsertQubitsAtEnd(Int32, Boolean)
Append a specific number of qubits to the register, initialized to the specified value.
Declaration Syntax
C#Visual BasicVisual C++
public IQuantumRegister InsertQubitsAtEnd(
	int NumberOfQubitsToAdd,
	bool InitializeTo
Public Function InsertQubitsAtEnd ( _
	NumberOfQubitsToAdd As Integer, _
	InitializeTo As Boolean _
) As IQuantumRegister
virtual IQuantumRegister^ InsertQubitsAtEnd(
	int NumberOfQubitsToAdd, 
	bool InitializeTo
) sealed
NumberOfQubitsToAdd (Int32)
The number of qubits to add to to the register.
InitializeTo (Boolean)
The value to initialze the qubits to.
Return Value
A reference to the expanded register.
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: (