Closed MarquessV closed 2 months ago
current status: ✅
Overall Coverage
Lines Covered Coverage Threshold Status 7185 6330 88% 87% 🟢 New Files
No new covered files...
Modified Files
File Coverage Status pyquil/paulis.py 98% 🟢 pyquil/quilatom.py 83% 🟢 TOTAL 91% 🟢 updated for commit:
b4b6ac0
by action🐍
Description
Closes #1682.
This implements the numpy array protocol by leaning on quil-rs expression simplification to get a numpy compatible number from the expression, if possible. If not, we still fallback to the default numpy behavior as to not break existing code.
Checklist
master
branch