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.ApplyIfGreaterL
operation ApplyIfGreaterL<'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 greater than the little-endian qubit register x