다음을 통해 공유


ApplyIfLessOrEqualLE 작업

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

operation ApplyIfLessOrEqualLE<'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 형식이어야 합니다.