다음을 통해 공유


ApplyIfGreaterLE 작업

정규화된 이름: Std.Arithmetic.ApplyIfGreaterLE

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

요약

즉, 등록 if x > y { action(target) } 레지스터 action보다 크면 targetxy 적용됩니다. 두 큐비트 레지스터는 모두 little-endian 형식이어야 합니다.