Aracılığıyla paylaş


ApplyIfLessOrEqualL işlemi

Tam ad: Std.Arithmetic.ApplyIfLessOrEqualL

operation ApplyIfLessOrEqualL<'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 uç kubiti yazmacına eşitse targetc uygular x