RandomInt 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

RandomInt has been deprecated. Please use DrawRandomInt operation instead.

operation RandomInt (maxInt : Int) : Int

Input

maxInt : Int

Output : Int