Cove - A Practical Quantum Computer Programming Framework
InsertQubits Method (AtIndex, NumberOfQubitsToAdd, InitializeTo)
NamespacesCove.LocalSimulationQuantumRegisterInsertQubits(Int32, Int32, Boolean)
Insert qubits into an arbitrary location in the register.
Declaration Syntax
C#Visual BasicVisual C++
public IQuantumRegister InsertQubits(
	int AtIndex,
	int NumberOfQubitsToAdd,
	bool InitializeTo
Public Function InsertQubits ( _
	AtIndex As Integer, _
	NumberOfQubitsToAdd As Integer, _
	InitializeTo As Boolean _
) As IQuantumRegister
virtual IQuantumRegister^ InsertQubits(
	int AtIndex, 
	int NumberOfQubitsToAdd, 
	bool InitializeTo
) sealed
AtIndex (Int32)
The qubits will be inserted starting at this index. The qubits at this index and after at the existing register will be shifted.
NumberOfQubitsToAdd (Int32)
Number of qubits to insert.
InitializeTo (Boolean)
Value to initialize the new qubits to.
Return Value
A reference to the combined 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: (