Freigeben über


IncByLUsingIncByLE-Vorgang

Vollqualifizierter Name: Std.Arithmetic.IncByLUsingIncByLE

operation IncByLUsingIncByLE(adder : ((Qubit[], Qubit[]) => Unit is Adj + Ctl), c : BigInt, ys : Qubit[]) : Unit is Adj + Ctl

Zusammenfassung

Erhöht ein little-endian register ys by a BigInt number c using provided adder.

BESCHREIBUNG

Berechnet ys += c modulo 2ⁿ, wobei ys ein wenig endisches Register Length(ys) = n > 0 ist, c ist eine BigInt-Zahl, 0 ≤ c < 2ⁿ.