ReversedOpBEA 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 big-endian input, returns a new operation that takes a little-endian input.

function ReversedOpBEA (op : (Microsoft.Quantum.Arithmetic.BigEndian => Unit is Adj)) : (Microsoft.Quantum.Arithmetic.LittleEndian => Unit is Adj)

Input

op : BigEndian => Unit is Adj

The operation whose input is to be reversed.

Output : LittleEndian => Unit is Adj

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

See Also