InsertQubitsAtBeginning Method (NumberOfQubitsToAdd, InitializeTo)
Cove - A Practical Quantum Computer Programming Framework
InsertQubitsAtBeginning Method (NumberOfQubitsToAdd, InitializeTo)
NamespacesCove.BaseIQuantumRegisterInsertQubitsAtBeginning(Int32, Boolean)
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++
IQuantumRegister InsertQubitsAtBeginning(
	int NumberOfQubitsToAdd,
	bool InitializeTo
)
Function InsertQubitsAtBeginning ( _
	NumberOfQubitsToAdd As Integer, _
	InitializeTo As Boolean _
) As IQuantumRegister
IQuantumRegister^ InsertQubitsAtBeginning(
	int NumberOfQubitsToAdd, 
	bool InitializeTo
)
Parameters
NumberOfQubitsToAdd (Int32)
The number of qubits to add to the register.
InitializeTo (Boolean)
Value to initialize the new qubits to.
Return Value
A reference to the expanded register.

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