ORNL-QCI / xacc

XACC - eXtreme-scale Accelerator programming framework
https://xacc.readthedocs.io
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

Get basis rotations #10

Closed danclaudino closed 5 months ago

danclaudino commented 5 months ago

This PR implements the getMeasurementBasisRotations method, which return the rotation operators to the Z-basis for each qubit. This is a step in improving variational algorithms such as VQE to not have to store/pass large circuits through Observable::observe().