pyqtorch icon indicating copy to clipboard operation
pyqtorch copied to clipboard

[Refactor] Deprecate DiagonalObservable

Open chMoussa opened this issue 7 months ago • 1 comments

Wrt #201, remove DiagonalObservable and use a property that keeps track of the diagonalily of the individual blocks when they are composed of Z, I or N and a version of apply_operator specific for diagonal operations. This can be used throughout PyQ for applying diagonal evolutions, and also for applying diagonal gates like CPHASE.

chMoussa avatar Jul 01 '24 12:07 chMoussa