BigEndianAsLittleEndian 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 BigEndian qubit register to a LittleEndian qubit register by reversing the qubit ordering.

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

Input

input : BigEndian

Qubit register in BigEndian format.

Output : LittleEndian

Qubit register in LittleEndian format.