QuEraComputing / Bloqade.jl

Package for the quantum computation and quantum simulation based on the neutral-atom architecture.
https://queracomputing.github.io/Bloqade.jl/dev/
Other
182 stars 37 forks source link

Account for edge case where you only have single x value in coordinate #656

Closed johnzl-777 closed 8 months ago

johnzl-777 commented 8 months ago

Should fix #655 , a new release of BloqadeLattices will be necessary along with Bloqade to let users have access to this.

weinbe58 commented 8 months ago

Probably should add a test to cover this case.

codecov[bot] commented 8 months ago

Codecov Report

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

Comparison is base (69e4eb4) 77.02% compared to head (1a3d7af) 71.96%.

:exclamation: Current head 1a3d7af differs from pull request most recent head c35aa92. Consider uploading reports for the commit c35aa92 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #656 +/- ## ========================================== - Coverage 77.02% 71.96% -5.06% ========================================== Files 106 82 -24 Lines 5279 4077 -1202 ========================================== - Hits 4066 2934 -1132 + Misses 1213 1143 -70 ```

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

johnzl-777 commented 8 months ago

Added two unit tests to cover text-based pretty printing Covers: