Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exit early when circuit type is not supported #2252

Merged
merged 2 commits into from
Mar 29, 2024

Conversation

cosenal
Copy link
Contributor

@cosenal cosenal commented Mar 29, 2024

Description

A small thing I noticed when reviewing #2248. Unless I am missing something, there is no point in generating the circuit for a circuit type we don't support.

make test passes successfully.

Copy link

codecov bot commented Mar 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.28%. Comparing base (728bbb5) to head (84fe240).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2252      +/-   ##
==========================================
- Coverage   98.28%   98.28%   -0.01%     
==========================================
  Files          90       90              
  Lines        4257     4256       -1     
==========================================
- Hits         4184     4183       -1     
  Misses         73       73              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@natestemen natestemen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, and thanks for the quick patch!

@natestemen natestemen merged commit 246f2e6 into master Mar 29, 2024
18 checks passed
@natestemen natestemen deleted the early-exit-qv-calibration branch March 29, 2024 15:06
cosenal added a commit that referenced this pull request Jun 26, 2024
* Exit early when circuit type is not supported

* Remove unused import
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants