Cove - A Practical Quantum Computer Programming Framework
ApplyOperation Method (Operation)
Apply a generic operation to the register.
Declaration Syntax
C#Visual BasicVisual C++
IQuantumRegister ApplyOperation(
	IQuantumOperation Operation
Function ApplyOperation ( _
	Operation As IQuantumOperation _
) As IQuantumRegister
IQuantumRegister^ ApplyOperation(
	IQuantumOperation^ Operation
Operation (IQuantumOperation)
The operation to apply
Return Value
A reference to this register after the operation has been applied.
SizeMismatchExceptionThrown if the number of qubits the operation applies to does not match the number of qubits in the register.

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