Skip to content

Conversation

@jon-wurtz
Copy link
Contributor

No description provided.

@codecov
Copy link

codecov bot commented May 22, 2025

Codecov Report

Attention: Patch coverage is 81.20567% with 53 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/bloqade/cirq_utils/lineprog.py 76.88% 46 Missing ⚠️
src/bloqade/cirq_utils/parallelize.py 91.46% 7 Missing ⚠️

📢 Thoughts on this report? Let us know!

@github-actions
Copy link
Contributor

github-actions bot commented May 22, 2025

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
8338 7287 87% 0% 🟢

New Files

File Coverage Status
src/bloqade/cirq_utils/init.py 100% 🟢
src/bloqade/cirq_utils/lineprog.py 77% 🟢
src/bloqade/cirq_utils/parallelize.py 91% 🟢
TOTAL 89% 🟢

Modified Files

No covered modified files...

updated for commit: 6fcb826 by action🐍

@jon-wurtz
Copy link
Contributor Author

Create a new helper function parallelize, which uses DAG representations of static circuits to find parallelism. The strategy uses linear programming, where each gate in the circuit is assigned a "time", where DAG constraints take the form t2-t1>1 in a linear constraint solver. The program is solved all at once with the qpsolvers package, for which I've added a few convenient wrappers to not have to deal with basis analysis.

@jon-wurtz jon-wurtz requested a review from weinbe58 May 22, 2025 13:46
@weinbe58 weinbe58 merged commit 5116a67 into main Jun 9, 2025
10 of 11 checks passed
@weinbe58 weinbe58 deleted the jwurtz/cirq_parallel branch June 9, 2025 18:07
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.

3 participants