Partilhar via


Operação ApplyIfGreaterL

Nome totalmente qualificado: Std.Arithmetic.ApplyIfGreaterL

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

Resumo

Calcula if (c > x) { action(target) }, ou seja, aplica-se action a target se um valor BigInt c for maior do que o registro de qubit little-endian x