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

feat: Update quil to >=0.13.2 #1809

Merged
merged 5 commits into from
Dec 11, 2024
Merged

feat: Update quil to >=0.13.2 #1809

merged 5 commits into from
Dec 11, 2024

Conversation

MarquessV
Copy link
Contributor

Description

closes #1808

@MarquessV MarquessV requested a review from a team as a code owner November 12, 2024 22:32
Copy link

github-actions bot commented Nov 12, 2024

🐰 Bencher Report

Branch1808-quil-breaking-change
Testbedci-runner-linux

⚠️ WARNING: No Threshold found!

Without a Threshold, no Alerts will ever be generated.

Click here to create a new Threshold
For more information, see the Threshold documentation.
To only post results if a Threshold exists, set the --ci-only-thresholds CLI flag.

Click to view all benchmark results
BenchmarkLatencynanoseconds (ns)
test/benchmarks/test_program.py::test_copy_everything_except_instructions📈 view plot
⚠️ NO THRESHOLD
9,341,260,062.00
test/benchmarks/test_program.py::test_instructions📈 view plot
⚠️ NO THRESHOLD
4,084,714,232.60
test/benchmarks/test_program.py::test_iteration📈 view plot
⚠️ NO THRESHOLD
4,118,027,520.60
🐰 View full continuous benchmarking report in Bencher

Copy link

github-actions bot commented Nov 12, 2024

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
7270 6374 88% 87% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
pyquil/paulis.py 95% 🟢
pyquil/pyqvm.py 74% 🟢
pyquil/quilbase.py 94% 🟢
pyquil/quiltcalibrations.py 98% 🟢
TOTAL 90% 🟢

updated for commit: 5b9decf by action🐍


@property # type: ignore[override]
def parameters(self) -> Sequence[ParameterDesignator]:
"""The parameters of the calibration."""
return _convert_to_py_expressions(super().parameters)
return _convert_to_py_expressions(super().identifier.parameters)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For some reason I can't get the type stubs to agree, looks like rigetti/quil-rs#420 is resolved because the types are correct in https://github.com/rigetti/quil-rs/blob/main/quil-py/quil/instructions/__init__.pyi#L888-L897 but not when I install quil-rs==0.13.2... but, this should be the same thing and gets the test passing.

@kalzoo kalzoo merged commit b302aa8 into master Dec 11, 2024
22 checks passed
@kalzoo kalzoo deleted the 1808-quil-breaking-change branch December 11, 2024 21: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.

Breaking change in quil > 0.13.0 breaks Def(Measure)Cal construction
3 participants