Skip to content

Commit

Permalink
chore: Use hugr v0.1 (#282)
Browse files Browse the repository at this point in the history
  • Loading branch information
aborgna-q authored Jan 16, 2024
1 parent d44ac89 commit 3587b8b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ missing_docs = "warn"
[workspace.dependencies]

tket2 = { path = "./tket2" }
quantinuum-hugr = { git = "https://github.com/CQCL/hugr", rev = "25d03aa" }
quantinuum-hugr = { version = "0.1" }
portgraph = { version = "0.11" }
pyo3 = { version = "0.20" }
itertools = { version = "0.12.0" }
Expand Down
2 changes: 0 additions & 2 deletions tket2/src/circuit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ pub trait Circuit: HugrView {
fn circuit_signature(&self) -> FunctionType {
self.get_function_type()
.expect("Circuit has no function type")
.body()
.clone()
}

/// Returns the input node to the circuit.
Expand Down

0 comments on commit 3587b8b

Please sign in to comment.