Skip to content

Commit

Permalink
Basic interop with Qiskit (#1899)
Browse files Browse the repository at this point in the history
This PR adds the ability to resource estimate, run, and generate QIR
from Qiskit `QuantumCircuit`s.

There are three areas which we can break up the review into:
- compiler/qsc_qasm3
- Python user facing API and notebooks. Example usage can be seen in:
  - samples/python_interop/qiskit/interop.ipynb
  - samples/estimation/estimation-qiskit.ipynb
- /compiler changes (excluding qsc_qasm3)

The QASM parser doesn't have usable semantic validation, so we have to
do a lot of our own validation as we compile the QASM generated from the
`QuantumCircuit`s.

Closes #1074

---------

Co-authored-by: orpuente-MS <156957451+orpuente-MS@users.noreply.github.com>
Co-authored-by: Mine Starks <16928427+minestarks@users.noreply.github.com>
Co-authored-by: Alex Hansen <alex@alex-hansen.com>
Co-authored-by: Stefan J. Wernli <swernli@microsoft.com>
  • Loading branch information
5 people authored Sep 9, 2024
1 parent 72c32aa commit 83aa5c2
Show file tree
Hide file tree
Showing 131 changed files with 22,802 additions and 271 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ __pycache__/
.mypy_cache/
.pytest_cache/
.idea/
*.so
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ __pycache__/
/vscode/test/out/
/vscode/test/**/test-workspace/
/wasm/
/pip/
Loading

0 comments on commit 83aa5c2

Please sign in to comment.