Cove - A Practical Quantum Computer Programming Framework
SliceReverse Method (Operations)
NamespacesCove.LocalSimulationQuantumRegisterSliceReverse(IEnumerable<(Of <(IQuantumOperation>)>))
Returns a quantum register with the qubits reversed, then the operations applied.
Declaration Syntax
C#Visual BasicVisual C++
public IQuantumRegister SliceReverse(
	IEnumerable<IQuantumOperation> Operations
Public Function SliceReverse ( _
	Operations As IEnumerable(Of IQuantumOperation) _
) As IQuantumRegister
virtual IQuantumRegister^ SliceReverse(
	IEnumerable<IQuantumOperation^>^ Operations
) sealed
Operations (IEnumerable<(Of <(IQuantumOperation>)>))
The operations to apply to the reversed slice.
Return Value
The quantum register representing this register with the qubits reversed and then the operations 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.
ArgumentExceptionThrown if the operation does not have AbstractSimulatedQuantumOperation as a base class.

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