ApplyOperation Method (Operation)
Cove - A Practical Quantum Computer Programming Framework
ApplyOperation Method (Operation)
NamespacesCove.BaseIQuantumRegisterApplyOperation(IQuantumOperation)
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
)
Parameters
Operation (IQuantumOperation)
The operation to apply
Return Value
A reference to this register after the operation has been applied.
Exceptions
ExceptionCondition
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: 1.0.0.0 (1.0.0.0)