Cove - A Practical Quantum Computer Programming Framework
ApplyOperation Method (Operation, Indexes)
NamespacesCove.BaseIQuantumRegisterApplyOperation(IQuantumOperation, array<Int32>[]()[])
Apply a generic operation to the specified qubits.
Declaration Syntax
C#Visual BasicVisual C++
IQuantumRegister ApplyOperation(
	IQuantumOperation Operation,
	int[] Indexes
Function ApplyOperation ( _
	Operation As IQuantumOperation, _
	Indexes As Integer() _
) As IQuantumRegister
IQuantumRegister^ ApplyOperation(
	IQuantumOperation^ Operation, 
	array<int>^ Indexes
Operation (IQuantumOperation)
Operation to apply to the qubit(s)
Indexes (array< Int32 >[]()[])
Indexes to apply the operation to.
Return Value
A reference to this register after the operation has been applied.
IndexOutOfRangeExceptionThrown if any of the indexes are out of range.
SizeMismatchExceptionThrown if the operation does not size does not match the size of the register.

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