ApplyIfLessL作

完全限定名称:Std.Arithmetic.ApplyIfLessL

operation ApplyIfLessL<'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