次の方法で共有


ApplyIfGreaterOrEqualL 操作

完全修飾名: Std.Arithmetic.ApplyIfGreaterOrEqualL

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

概要

BigInt 値 if (c >= x) { action(target) } がリトルエンディアン量子ビット レジスタ if (c >= x) { action(target) } 以上の場合、targetc を適用する xを計算