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

move qasm2 from kirin-circuit #1

Merged
merged 21 commits into from
Jan 23, 2025
Merged

move qasm2 from kirin-circuit #1

merged 21 commits into from
Jan 23, 2025

Conversation

Roger-luo
Copy link
Member

@Roger-luo Roger-luo commented Jan 22, 2025

This PR moves the QASM2 implementation into this new namespace package with some minor cleanups:

  • qrack is no longer living with dialects, it is in independent module so we can install it conditionally with extra qrack
  • implement qrack interpreter for QASM2

Co-authored-by: Roger-luo rluo@quera.com
Co-authored-by: kaihsin khwu@quera.com
Co-authored-by: weinbe58 pweinberg@quera.com
Co-authored-by: johnzl-777 jlong@quera.com

@Roger-luo Roger-luo added the qasm2 issues or PR related to QASM2 support label Jan 23, 2025
Copy link

codecov bot commented Jan 23, 2025

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

Copy link
Contributor

github-actions bot commented Jan 23, 2025

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
1956 1658 85% 0% 🟢

New Files

File Coverage Status
src/bloqade/analysis/address/_init_.py 100% 🟢
src/bloqade/analysis/address/analysis.py 92% 🟢
src/bloqade/analysis/address/impls.py 73% 🟢
src/bloqade/analysis/address/lattice.py 93% 🟢
src/bloqade/qasm2/_wrappers.py 100% 🟢
src/bloqade/qasm2/dialects/core/_init_.py 100% 🟢
src/bloqade/qasm2/dialects/core/_dialect.py 100% 🟢
src/bloqade/qasm2/dialects/core/address.py 95% 🟢
src/bloqade/qasm2/dialects/core/emit.py 100% 🟢
src/bloqade/qasm2/dialects/core/lowering.py 85% 🟢
src/bloqade/qasm2/dialects/core/stmts.py 100% 🟢
src/bloqade/qasm2/dialects/expr/_init_.py 100% 🟢
src/bloqade/qasm2/dialects/expr/_dialect.py 100% 🟢
src/bloqade/qasm2/dialects/expr/emit.py 72% 🟢
src/bloqade/qasm2/dialects/expr/interp.py 77% 🟢
src/bloqade/qasm2/dialects/expr/lowering.py 51% 🟢
src/bloqade/qasm2/dialects/expr/stmts.py 100% 🟢
src/bloqade/qasm2/dialects/inline.py 74% 🟢
src/bloqade/qasm2/dialects/parallel.py 80% 🟢
src/bloqade/qasm2/dialects/uop/_init_.py 100% 🟢
src/bloqade/qasm2/dialects/uop/_dialect.py 100% 🟢
src/bloqade/qasm2/dialects/uop/emit.py 47% 🟢
src/bloqade/qasm2/dialects/uop/stmts.py 100% 🟢
src/bloqade/qasm2/emit/base.py 93% 🟢
src/bloqade/qasm2/emit/gate.py 88% 🟢
src/bloqade/qasm2/emit/main.py 95% 🟢
src/bloqade/qasm2/emit/target.py 100% 🟢
src/bloqade/qasm2/groups.py 100% 🟢
src/bloqade/qasm2/parallel.py 100% 🟢
src/bloqade/qasm2/parse/ast.py 99% 🟢
src/bloqade/qasm2/parse/build.py 85% 🟢
src/bloqade/qasm2/parse/lowering.py 48% 🟢
src/bloqade/qasm2/parse/parser.py 100% 🟢
src/bloqade/qasm2/parse/print.py 95% 🟢
src/bloqade/qasm2/parse/visitor.py 90% 🟢
src/bloqade/qasm2/types.py 88% 🟢
src/bloqade/types.py 100% 🟢
TOTAL 90% 🟢

Modified Files

File Coverage Status
src/bloqade/qasm2/_init_.py 100% 🟢
src/bloqade/qasm2/emit/_init_.py 100% 🟢
src/bloqade/qasm2/parse/_init_.py 100% 🟢
TOTAL 100% 🟢

updated for commit: 9db23b0 by action🐍

@Roger-luo Roger-luo merged commit 0e578fc into main Jan 23, 2025
7 of 8 checks passed
@Roger-luo Roger-luo deleted the roger/qasm2 branch January 23, 2025 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
qasm2 issues or PR related to QASM2 support
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant