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
public:
virtual IQuantumRegister^ ApplyOperation(
	IQuantumOperation^ Operation, 
	array<int>^ Indexes
) sealed
Parameters
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.
Exceptions
ExceptionCondition
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: 1.0.0.0 (1.0.0.0)