Delen via


ApplyIfLessLE-bewerking

Volledig gekwalificeerde naam: Std.Arithmetic.ApplyIfLessLE

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

Samenvatting

Berekent if x < y { action(target) }, dat wil gezegd, past action toe op target als het register x kleiner is dan het y. Beide qubitregisters moeten een little-endian-indeling hebben.