unitaryfund / mitiq

Mitiq is an open source toolkit for implementing error mitigation techniques on most current intermediate-scale quantum computers.
https://mitiq.readthedocs.io
GNU General Public License v3.0
344 stars 145 forks source link

Pretty print Supported Program Types enum #2352

Closed cosenal closed 1 month ago

cosenal commented 1 month ago

Since the introduction of the Supported Program Types enum in #2276, some error messages are not printed in a pretty way. This PR fixes that. From

...
Circuit types supported by Mitiq are 
<enum 'SUPPORTED_PROGRAM_TYPES'>.

to

...
Circuit types supported by Mitiq are 
braket, cirq, pennylane, pyquil, qibo, qiskit.
codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 98.22%. Comparing base (8b9ba75) to head (7330905).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2352 +/- ## ======================================= Coverage 98.22% 98.22% ======================================= Files 87 87 Lines 4056 4059 +3 ======================================= + Hits 3984 3987 +3 Misses 72 72 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.