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

Fixing compilation route #630

Merged
merged 5 commits into from
Sep 25, 2023
Merged

Fixing compilation route #630

merged 5 commits into from
Sep 25, 2023

Conversation

weinbe58
Copy link
Member

Currently the parse_source returns a tuple of the circuit and the parameters. I am changing this to parse and allowing it to return a Routine object. Then the backend selection dispatches as self.parse().service.backend() instead of creating an intermediate routine object. Also Routine now contains the builder as well as the circuit and the parameters.

@github-actions
Copy link
Contributor

github-actions bot commented Sep 25, 2023

PR Preview Action v1.4.4
Preview removed because the pull request was closed.
2023-09-25 20:35 UTC

@codecov
Copy link

codecov bot commented Sep 25, 2023

Codecov Report

Merging #630 (3f84312) into main (88be4f1) will increase coverage by 0.16%.
Report is 2 commits behind head on main.
The diff coverage is 82.22%.

@@            Coverage Diff             @@
##             main     #630      +/-   ##
==========================================
+ Coverage   83.12%   83.29%   +0.16%     
==========================================
  Files          88       89       +1     
  Lines        7285     7315      +30     
==========================================
+ Hits         6056     6093      +37     
+ Misses       1229     1222       -7     
Files Coverage Δ
src/bloqade/builder/backend/bloqade.py 90.00% <100.00%> (-0.91%) ⬇️
src/bloqade/builder/backend/braket.py 100.00% <100.00%> (ø)
src/bloqade/builder/coupling.py 100.00% <100.00%> (ø)
src/bloqade/emulate/codegen/hamiltonian.py 88.13% <100.00%> (+3.38%) ⬆️
src/bloqade/emulate/ir/state_vector.py 76.39% <100.00%> (ø)
src/bloqade/ir/routine/bloqade.py 93.18% <100.00%> (ø)
src/bloqade/ir/routine/braket.py 89.74% <100.00%> (ø)
src/bloqade/task/batch.py 68.39% <100.00%> (+0.13%) ⬆️
src/bloqade/visualization/display.py 33.01% <100.00%> (+1.28%) ⬆️
src/bloqade/codegen/emulator_ir.py 94.16% <93.33%> (+3.32%) ⬆️
... and 6 more

... and 3 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@weinbe58 weinbe58 merged commit e27a19c into main Sep 25, 2023
@weinbe58 weinbe58 deleted the fixing-compilation-route branch September 25, 2023 20:33
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.

1 participant