Skip to content

Add qBraid SDK changes - #86

Merged
TheGupta2012 merged 5 commits into
mainfrom
qbraid-sdk-tweaks
Dec 3, 2024
Merged

TheGupta2012 merged 5 commits into
mainfrom
qbraid-sdk-tweaks

Conversation

@TheGupta2012

@TheGupta2012 TheGupta2012 commented Nov 20, 2024 •

Copy link
Copy Markdown
Member

Fixes #81 and address comments of qBraid SDK Integration PR

Summary of changes

  • Added support for gphase gate
  • Added support for new gate operations such as not, toffoli, c3sx, c4x and fixed bugs in implementations of gpi2 and prx in src/pyqasm/maps.py.
  • Refactored the initialization of _unrolled_ast in src/pyqasm/modules/base.py, src/pyqasm/modules/qasm2.py, and src/pyqasm/modules/qasm3.py to remove default include statements. [1] [2] [3]
  • Implemented _visit_include method in src/pyqasm/visitor.py to handle include statements and prevent repeated includes. [1] [2]

@codecov-commenter

codecov-commenter commented Nov 20, 2024 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 89.24731% with 10 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/pyqasm/maps.py 84.37% 5 Missing ⚠️
src/pyqasm/visitor.py 89.74% 4 Missing ⚠️
src/pyqasm/modules/base.py 85.71% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@TheGupta2012
TheGupta2012 merged commit 62c3cdb into main Dec 3, 2024
@TheGupta2012
TheGupta2012 deleted the qbraid-sdk-tweaks branch February 12, 2025 08:38
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.

[BUG] pyqasm.unroll() handling of include statements

2 participants