RandomIntPow2 operation

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.Math

Package: Microsoft.Quantum.Standard

Warning

RandomIntPow2 has been deprecated. Please use DrawRandomInt operation instead.

operation RandomIntPow2 (maxBits : Int) : Int

Input

maxBits : Int

Output : Int