Freigeben über


TimesI-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 das Produkt mit zwei Eingaben zurück.

function TimesI (a : Int, b : Int) : Int

Eingabe

a : Int

Die erste Eingabe $a$, die multipliziert werden soll.

b : Int

Die zweite Eingabe $b$, die multipliziert werden soll.

Ausgabe : Int

Das Produkt $a \times b$.