ReversedOpLE function

Warning

This documentation refers to the Classic QDK, which has been replaced by the Modern QDK.

Please see https://aka.ms/qdk.api for the API documentation for the Modern QDK.

Namespace: Microsoft.Quantum.Arithmetic

Package: Microsoft.Quantum.Standard

Given an operation that takes a little-endian input, returns a new operation that takes a big-endian input.

function ReversedOpLE (op : (Microsoft.Quantum.Arithmetic.LittleEndian => Unit)) : (Microsoft.Quantum.Arithmetic.BigEndian => Unit)

Input

op : LittleEndian => Unit

The operation whose input is to be reversed.

Output : BigEndian => Unit

A new operation that accepts its input as a big-endian register.

See Also