SliceReverse Method (Operation)
Cove - A Practical Quantum Computer Programming Framework
SliceReverse Method (Operation)
NamespacesCove.BaseIQuantumRegisterSliceReverse(IQuantumOperation)
Returns a quantum register with the qubits reversed, then the operation applied.
Declaration Syntax
C#Visual BasicVisual C++
IQuantumRegister SliceReverse(
	IQuantumOperation Operation
)
Function SliceReverse ( _
	Operation As IQuantumOperation _
) As IQuantumRegister
IQuantumRegister^ SliceReverse(
	IQuantumOperation^ Operation
)
Parameters
Operation (IQuantumOperation)
The operation to apply to the reversed slice.
Return Value
The quantum register representing this register with the qubits reversed and then the operation applied.
Exceptions
ExceptionCondition
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: 1.0.0.0 (1.0.0.0)