Delen via


ApplyIfEqualL-bewerking

Volledig gekwalificeerde naam: Std.Arithmetic.ApplyIfEqualL

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

Samenvatting

Berekent if (c == x) { action(target) }, dat wil gezegd, action op target als een BigInt-waarde c gelijk is aan het bit-endian-qubitregister x