Freigeben über


IncByL-Vorgang

Vollqualifizierter Name: Std.Arithmetic.IncByL

operation IncByL(c : BigInt, ys : Qubit[]) : Unit is Adj + Ctl

Zusammenfassung

Erhöht ein little-endian register ys um eine BigInt-Zahl c

BESCHREIBUNG

Berechnet ys += c modulo 2ⁿ, wobei ys ein kleines endisches Register ist, Length(ys) = n > 0, c ist eine BigInt-Zahl, 0 ≤ c < 2ⁿ. HINWEIS: Verwenden Sie IncByLUsingIncByLE direkt, wenn die Auswahl der Implementierung wichtig ist.