Skip to main content
IBM Quantum Platform
번역 정보

이 페이지의 추가 언어 번역이 곧 제공될 예정입니다.

undress_box

samplomatic.utils.undress_box(box: BoxOp) → BoxOp

GitHub

Return a box equivalent to box, stripped of the single-qubit gates on the dressing side.

This function removes all the single-qubit gates that can be pushed to the side indicated by its dressing (left or right) without encountering any other operation. If the input box contains no Twirl annotation, an unmodified copy of it is returned.

The returned box owns a copy of all the annotations present in the given box.

Parameters

box – The box to remove the single-qubit gates from.

이 페이지가 도움이 되었습니까?
GitHub에서 버그, 오타를 보고하거나 컨텐츠를 요청하십시오.