PlusCP 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 the sum of two inputs.

function PlusCP (a : Microsoft.Quantum.Math.ComplexPolar, b : Microsoft.Quantum.Math.ComplexPolar) : Microsoft.Quantum.Math.ComplexPolar

Input

a : ComplexPolar

The first input $a$ to be summed.

b : ComplexPolar

The second input $b$ to be summed.

Output : ComplexPolar

The sum $a + b$.