다음을 통해 공유


ApplyIfGreaterOrEqualL 작업

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

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

요약

if (c >= x) { action(target) }계산합니다. 즉, BigInt 값이 little-endian 큐비트 레지스터 action 크거나 같은 경우 targetc 적용됩니다x