Delen via


ApplyIfGreaterL-bewerking

Volledig gekwalificeerde naam: Std.Arithmetic.ApplyIfGreaterL

operation ApplyIfGreaterL<'T>(action : ('T => Unit is Adj + Ctl), c : BigInt, x : 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 groter is dan de bit-endian-qubitregister x