LittleEndianAsBigEndian 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

Converts a LittleEndian qubit register to a BigEndian qubit register by reversing the qubit ordering.

function LittleEndianAsBigEndian (input : Microsoft.Quantum.Arithmetic.LittleEndian) : Microsoft.Quantum.Arithmetic.BigEndian

Input

input : LittleEndian

Qubit register in LittleEndian format.

Output : BigEndian

Qubit register in BigEndian format.