عملية 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) }، أي، تنطبق action على target إذا كانت قيمة BigInt c أقل من سجل qubit الصغير x