Compartir a través de


Operación IncByLE

Nombre completo: Std.Arithmetic.IncByLE

operation IncByLE(xs : Qubit[], ys : Qubit[]) : Unit is Adj + Ctl

Resumen

Incrementa un registro little-endian ys por un registro little-endian xs

Descripción

Calcula ys += módulo xs 2ⁿ, donde xs e ys son registros little-endian y Length(xs) ≤ Length(ys) = n. NOTA: Use operaciones como RippleCarryCGIncByLE directamente si la elección de la implementación es importante.