Aracılığıyla paylaş


ApplyIfEqualL işlemi

Tam ad: Std.Arithmetic.ApplyIfEqualL

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

Özet

bigInt değeri if (c == x) { action(target) } küçük endian kubit yazmacına eşitse actiontargetc uygularx