PlusCP-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 die Summe von zwei Eingaben zurück.
function PlusCP (a : Microsoft.Quantum.Math.ComplexPolar, b : Microsoft.Quantum.Math.ComplexPolar) : Microsoft.Quantum.Math.ComplexPolar
Eingabe
a : ComplexPolar
Die erste Eingabe $a$ zusammenzufassen.
b : ComplexPolar
Die zweite Eingabe $b$ zusammenzufassen.
Ausgabe: ComplexPolar
Die Summe $a + b$.