Skip to content

Commit f83db21

Browse files
doug-qss2165
andauthored
feat(tket2-hseries): Lazify more flavours of measure ops (#742)
Closes #740 --------- Co-authored-by: Seyon Sivarajah <seyon.sivarajah@cambridgequantum.com>
1 parent 1f126c0 commit f83db21

File tree

5 files changed

+288
-151
lines changed

5 files changed

+288
-151
lines changed

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tket2-hseries/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ derive_more = { workspace = true, features = [
3939
"from",
4040
"into",
4141
] }
42+
delegate.workspace = true
4243

4344
[dev-dependencies]
4445
cool_asserts.workspace = true

tket2-hseries/src/extension/qsystem.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ use hugr::{
2323
Extension, Wire,
2424
};
2525

26+
use derive_more::Display;
2627
use lazy_static::lazy_static;
2728
use strum_macros::{EnumIter, EnumString, IntoStaticStr};
2829

@@ -76,6 +77,7 @@ lazy_static! {
7677
EnumIter,
7778
IntoStaticStr,
7879
EnumString,
80+
Display,
7981
)]
8082
#[allow(missing_docs)]
8183
#[non_exhaustive]

0 commit comments

Comments
 (0)