Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Fully qualified name: Std.Arithmetic.ApplyIfLessOrEqualL
operation ApplyIfLessOrEqualL<'T>(action : ('T => Unit is Adj + Ctl), c : BigInt, x : Qubit[], target : 'T) : Unit is Adj + Ctl
Summary
Computes if (c <= x) { action(target) }, that is, applies action to target
if a BigInt value c is less or equal to the little-endian qubit register x