Aracılığıyla paylaş


ApplyIfGreaterL işlemi

Tam ad: Std.Arithmetic.ApplyIfGreaterL

operation ApplyIfGreaterL<'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ından büyükse targetc uygular x