Aracılığıyla paylaş


ApplyIfGreaterLE işlemi

Tam ad: Std.Arithmetic.ApplyIfGreaterLE

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

Özet

kayıt if x > y { action(target) } yazmaç actiondeğerinden büyükse targetxy uygular. Her iki kubit yazmaç da küçük endian biçiminde olmalıdır.