Freigeben über


ApplyIfLessL-Vorgang

Vollqualifizierter Name: Std.Arithmetische.ApplyIfLessL

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

Zusammenfassung

Berechnet if (c < x) { action(target) }, d. action gilt für target, wenn ein BigInt-c Wert kleiner als das little-endische Qubit-Register x