Returns a quantum register with the qubits reversed, then the operation applied.
| C# | Visual Basic | Visual C++ |
public IQuantumRegister SliceReverse( IQuantumOperation Operation )
Public Function SliceReverse ( _ Operation As IQuantumOperation _ ) As IQuantumRegister
public: virtual IQuantumRegister^ SliceReverse( IQuantumOperation^ Operation ) sealed
- Operation (IQuantumOperation)
- The operation to apply to the reversed slice.
The quantum register representing this register with the qubits reversed
and then the operation applied.
| Exception | Condition |
|---|---|
| NotUnitaryOperationException | Thrown if a non-unitary operation is
passed. All quantum operations must be unitary. |
| SizeMismatchException | Thrown if the size of one of the operations
does not match the size of the register. |
| ArgumentException | Thrown if the operation does not have
AbstractSimulatedQuantumOperation as a base class. |