Freigeben über


ApplyIfEqualL-Vorgang

Vollqualifizierter Name: Std.Arithmeetic.ApplyIfEqualL

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

Zusammenfassung

Berechnet if (c == x) { action(target) }, d. a. action auf target angewendet, wenn ein BigInt-Wert c dem little-endischen Qubit-Register entsprichtx