ApplyOperations Method (Operations)
Cove - A Practical Quantum Computer Programming Framework
ApplyOperations Method (Operations)
NamespacesCove.BaseIQuantumRegisterApplyOperations(IEnumerable<(Of <(IQuantumOperation>)>))
Apply a series of operations to the quantum register. If any of the operations are invalid and an exception is thrown then the state of the register is not altered.
Declaration Syntax
C#Visual BasicVisual C++
IQuantumRegister ApplyOperations(
	IEnumerable<IQuantumOperation> Operations
Function ApplyOperations ( _
	Operations As IEnumerable(Of IQuantumOperation) _
) As IQuantumRegister
IQuantumRegister^ ApplyOperations(
	IEnumerable<IQuantumOperation^>^ Operations
Operations (IEnumerable<(Of <(IQuantumOperation>)>))
Operations to apply. They will be applied in order from lowest index to highest.
Return Value
A reference to this register after the operation has been applied.
NotUnitaryOperationExceptionThrown if a non-unitary operation is passed. All quantum operations must be unitary.
SizeMismatchExceptionThrown if the size of one of the operations does not match the size of the register.

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