Freigeben über


ApplyIfGreaterL-Vorgang

Vollqualifizierter Name: Std.Arithmeetic.ApplyIfGreaterL

operation ApplyIfGreaterL<'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. a. gilt action für target, wenn ein BigInt-c Wert größer ist als das Little-Endian-Qubit-Register x