Skip to content

Commit 2cd68cc

Browse files
authored
feat: Update quil-rs (#361)
* feat: Update quil-rs * update simplified expression in snapshot
1 parent c1ddd4d commit 2cd68cc

4 files changed

Lines changed: 6 additions & 73 deletions

File tree

Cargo.lock

Lines changed: 2 additions & 69 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ tokio = "1.24.2"
1515
# be a `quil-py` tag and should match the version used in `crates/python/pyproject.toml`
1616
# The version must also be specified in order to publish to crates.io. Cargo enforces
1717
# that the specified version is the same as the version in the git repository.
18-
quil-rs = { version = "0.21.0", git = "https://github.com/rigetti/quil-rs", tag = "quil-py/v0.5.1" }
18+
quil-rs = { version = "0.21.1", git = "https://github.com/rigetti/quil-rs", tag = "quil-py/v0.5.2" }
1919

2020
# ndarray is used by the `qcs` crate, but it is also used in the `python` crate via a
2121
# re-export through the numpy crate. They should be updated as a pair to keep both
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
22
source: crates/lib/src/qpu/rewrite_arithmetic.rs
3-
expression: "substitutions[0].to_string()"
3+
expression: "substitutions[0].to_quil_or_debug()"
44
---
5-
(theta[0]*1.5)/6.283185307179586
5+
theta[0]*0.238732414637843

crates/python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ classifiers = [
2020
"Programming Language :: Python :: 3.11",
2121
"Operating System :: OS Independent",
2222
]
23-
dependencies = ["quil==0.5.1"]
23+
dependencies = ["quil==0.5.2"]
2424

2525
# PEP 621 specifies the [project] table as the source for project metadata. However, Poetry only supports [tool.poetry]
2626
# We can remove this table once this issue is resolved: https://github.com/python-poetry/poetry/issues/3332

0 commit comments

Comments
 (0)