PowI 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 PowI (a : Int, power : Int) : Int

Input

a : Int

The number $a$ that is to be raised.

power : Int

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

Output : Int

The power $a^b$