Delen via


ApplyIfGreaterOrEqualL-bewerking

Volledig gekwalificeerde naam: Std.Arithmetic.ApplyIfGreaterOrEqualL

operation ApplyIfGreaterOrEqualL<'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 of gelijk is aan de bit-endian-qubitregister x