ResultArrayAsInt 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.Convert

Package: Microsoft.Quantum.Type2.Core

Produces a non-negative integer from a string of Results in little endian format.

function ResultArrayAsInt (results : Result[]) : Int

Input

results : Result[]

Results in binary representation of number.

Output : Int