ReversedOpLECA 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 ReversedOpLECA (op : (Microsoft.Quantum.Arithmetic.LittleEndian => Unit is Adj + Ctl)) : (Microsoft.Quantum.Arithmetic.BigEndian => Unit is Adj + Ctl)

Input

op : LittleEndian => Unit is Adj + Ctl

The operation whose input is to be reversed.

Output : BigEndian => Unit is Adj + Ctl

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

See Also