Aracılığıyla paylaş


ApplyIfGreaterOrEqualL işlemi

Tam ad: Std.Arithmetic.ApplyIfGreaterOrEqualL

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

Özet

if (c >= x) { action(target) }hesaplamalar, bigInt değeri action küçük endian kubit yazmacına eşit veya daha büyükse targetc uygular x