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

Package: Microsoft.Quantum.Standard

Returns a number raised to a given power.

function PowL (a : BigInt, power : Int) : BigInt

Input

a : BigInt

The number $a$ that is to be raised.

power : Int

The power $b$ to which $a$ should be raised.

Output : BigInt

The power $a^b$