Aracılığıyla paylaş


ApplyIfLessL işlemi

Tam ad: Std.Arithmetic.ApplyIfLessL

operation ApplyIfLessL<'T>(action : ('T => Unit is Adj + Ctl), c : BigInt, x : Qubit[], target : 'T) : Unit is Adj + Ctl

Özet

İşlemler if (c < x) { action(target) }, yani BigInt değeri action küçük endian kubit yazmacından küçükse targetc uygular x