Dela via


ApplyIfGreaterOrEqualL-åtgärd

Fullständigt kvalificerat namn: Std.Arithmetic.ApplyIfGreaterOrEqualL

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

Sammanfattning

Computes if (c >= x) { action(target) }, d.s.a. gäller action för target om ett BigInt-värde c är större eller lika med det lilla endianska qubitregistret x