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

Rydberg h factory #654

Merged
merged 20 commits into from
Sep 29, 2023
Merged

Rydberg h factory #654

merged 20 commits into from
Sep 29, 2023

Conversation

weinbe58
Copy link
Member

@weinbe58 weinbe58 commented Sep 29, 2023

  • moving the factory to top level of package
  • adding sample method to PythonFn node
  • adding unit test for rydberg_h implementation.
  • Removing unittest.mock from some tests involving a routine because these no longer work with pydantic dataclasses.
  • Adding submission_error option to MockBackend in order to cover missing mock unittests.

@github-actions
Copy link
Contributor

github-actions bot commented Sep 29, 2023

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

@codecov
Copy link

codecov bot commented Sep 29, 2023

Codecov Report

Merging #654 (2573cd0) into main (ad75c42) will increase coverage by 0.33%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #654      +/-   ##
==========================================
+ Coverage   84.57%   84.90%   +0.33%     
==========================================
  Files          89       89              
  Lines        7376     7415      +39     
==========================================
+ Hits         6238     6296      +58     
+ Misses       1138     1119      -19     
Files Coverage Δ
src/bloqade/__init__.py 100.00% <100.00%> (ø)
src/bloqade/builder/assign.py 100.00% <100.00%> (ø)
src/bloqade/builder/backend/quera.py 86.66% <100.00%> (ø)
src/bloqade/factory.py 100.00% <100.00%> (ø)
src/bloqade/ir/__init__.py 100.00% <ø> (ø)
src/bloqade/ir/control/waveform.py 88.04% <100.00%> (+0.11%) ⬆️
src/bloqade/ir/routine/base.py 76.08% <100.00%> (+3.35%) ⬆️
src/bloqade/ir/routine/bloqade.py 93.18% <100.00%> (ø)
src/bloqade/ir/routine/braket.py 89.74% <100.00%> (ø)
src/bloqade/ir/routine/quera.py 82.53% <100.00%> (ø)
... and 1 more

... and 2 files with indirect coverage changes

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

@weinbe58 weinbe58 enabled auto-merge (squash) September 29, 2023 20:01
@weinbe58 weinbe58 disabled auto-merge September 29, 2023 20:02
@weinbe58 weinbe58 merged commit 6d561af into main Sep 29, 2023
8 checks passed
@weinbe58 weinbe58 deleted the rydberg-h-factory branch September 29, 2023 20:04
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