MinusCP 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 difference between two inputs.

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

Input

a : ComplexPolar

The first input $a$ to be subtracted.

b : ComplexPolar

The second input $b$ to be subtracted.

Output : ComplexPolar

The difference $a - b$.