Cove - A Practical Quantum Computer Programming Framework
InsertQubits Method (AtIndex, NumberOfQubitsToAdd)
NamespacesCove.BaseIQuantumRegisterInsertQubits(Int32, Int32)
Insert qubits into an arbitrary location in the register.
Declaration Syntax
C#Visual BasicVisual C++
IQuantumRegister InsertQubits(
	int AtIndex,
	int NumberOfQubitsToAdd
)
Function InsertQubits ( _
	AtIndex As Integer, _
	NumberOfQubitsToAdd As Integer _
) As IQuantumRegister
IQuantumRegister^ InsertQubits(
	int AtIndex, 
	int NumberOfQubitsToAdd
)
Parameters
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.
Return Value
A reference to the combined register.

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