PowI-Funktion
Warnung
Diese Dokumentation bezieht sich auf das klassische QDK, das durch das moderne QDK ersetzt wurde.
Weitere Informationen finden https://aka.ms/qdk.api Sie in der API-Dokumentation für das moderne QDK.
Namespace: Microsoft.Quantum.Math
Paket: Microsoft.Quantum.Standard
Gibt eine Zahl zurück, die auf eine bestimmte Leistung erhöht wird.
function PowI (a : Int, power : Int) : Int
Eingabe
a : Int
Die Zahl $a$, die erhöht werden soll.
Power : Int
Die Macht $b$, auf die $a$ erhoben werden soll.
Ausgabe : Int
Die Leistung $a^b$