Skip to content

Commit

Permalink
Correct typo in to_pickle method
Browse files Browse the repository at this point in the history
  • Loading branch information
jakelishman authored and raynelfss committed Aug 24, 2024
1 parent 54cd574 commit 78ab11b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/circuit/src/dag_circuit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ impl Hash for Wire {
}

impl Wire {
fn to_picke(&self, py: Python) -> PyObject {
fn to_pickle(&self, py: Python) -> PyObject {
match self {
Self::Qubit(bit) => (0, bit.0.into_py(py)).into_py(py),
Self::Clbit(bit) => (1, bit.0.into_py(py)).into_py(py),
Expand Down Expand Up @@ -574,7 +574,7 @@ impl DAGCircuit {
(
endpoints.0.index(),
endpoints.1.index(),
edge_w.clone().to_picke(py),
edge_w.clone().to_pickle(py),
)
.to_object(py)
}
Expand Down

0 comments on commit 78ab11b

Please sign in to comment.