Compartir a través de


Operación IncByLUsingIncByLE

Nombre completo: Std.Arithmetic.IncByLUsingIncByLE

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

Resumen

Incrementa un registro little-endian ys por un número BigInt c mediante el agregador proporcionado.

Descripción

Calcula ys += módulo c 2ⁿ, donde ys es un registro little-endian Length(ys) = n > 0, c es un número BigInt, 0 ≤ c < 2ⁿ.