Cove - A Practical Quantum Computer Programming Framework
ApplyOperation Method (Operation, Indexes)
NamespacesCove.LocalSimulationQuantumRegisterApplyOperation(IQuantumOperation, array<Int32>[]()[])
Apply a generic operation to the specified qubits.
Declaration Syntax
C#Visual BasicVisual C++
public IQuantumRegister ApplyOperation(
	IQuantumOperation Operation,
	int[] Indexes
Public Function ApplyOperation ( _
	Operation As IQuantumOperation, _
	Indexes As Integer() _
) As IQuantumRegister
virtual IQuantumRegister^ ApplyOperation(
	IQuantumOperation^ Operation, 
	array<int>^ Indexes
) sealed
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.
NotImplementedExceptionThis method is not yet implemented.

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