ApplyIfGreaterL作

完全限定的名称:Std.Arithmetic.ApplyIfGreaterL

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

摘要

计算 if (c > x) { action(target) }(即,如果 BigInt 值 action 大于小端量子比特寄存器 target,则 c 应用于 x