Cove - A Practical Quantum Computer Programming Framework
InsertQubits Method (AtIndex, RegisterToInsert)
NamespacesCove.LocalSimulationQuantumRegisterInsertQubits(Int32, IQuantumRegister)
Insert a quantum register into this one.
Declaration Syntax
C#Visual BasicVisual C++
public IQuantumRegister InsertQubits(
	int AtIndex,
	IQuantumRegister RegisterToInsert
Public Function InsertQubits ( _
	AtIndex As Integer, _
	RegisterToInsert As IQuantumRegister _
) As IQuantumRegister
virtual IQuantumRegister^ InsertQubits(
	int AtIndex, 
	IQuantumRegister^ RegisterToInsert
) sealed
AtIndex (Int32)
The register will be inserted starting at this index. The qubits at this index and after at the existing one will be shifted.
RegisterToInsert (IQuantumRegister)
The register to insert into this one.Passing null is valid and has no effect on the register.
Return Value
A reference to the combined regiser.
IndexOutOfRangeExceptionThrown if the index specified is out of range.
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: (