Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Fully qualified name: Std.Arithmetic.ApplyIfLessOrEqualLE
operation ApplyIfLessOrEqualLE<'T>(action : ('T => Unit is Adj + Ctl), x : Qubit[], y : Qubit[], target : 'T) : Unit is Adj + Ctl
Summary
Computes if x <= y { action(target) }
, that is, applies action
to target
if register x
is less or equal to the register y
.
Both qubit registers should be in a little-endian format.