PowC 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 PowC (a : Microsoft.Quantum.Math.Complex, power : Microsoft.Quantum.Math.Complex) : Microsoft.Quantum.Math.Complex

Input

a : Complex

The number $a$ that is to be raised.

power : Complex

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

Output : Complex

The power $a^b$