다음을 통해 공유


IncByLUsingIncByLE 작업

정규화된 이름: Std.Arithmetic.IncByLUsingIncByLE

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

요약

제공된 추가기를 사용하여 BigInt 숫자 c로 little-endian register ys를 증분합니다.

설명

Computes ys += c modulo 2, 여기서 ys는 little-endian register Length(ys) = n > 0, c는 BigInt 숫자, 0 ≤ c < 2입니다.