Skip to content

Commit 832cda3

Browse files
authored
Update crates/circuit/src/dag_circuit.rs
1 parent d4e2f9a commit 832cda3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/circuit/src/dag_circuit.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5688,7 +5688,7 @@ impl DAGCircuit {
56885688
} else if let Ok(clbit) = wire.extract::<ShareableClbit>() {
56895689
NodeType::ClbitOut(self.clbits.find(&clbit).unwrap())
56905690
} else {
5691-
let var = PyObjectAsKey::new(wire);
5691+
let var = VarAsKey::new(wire);
56925692
NodeType::VarOut(self.vars.find(&var).unwrap())
56935693
}
56945694
} else if let Ok(op_node) = b.downcast::<DAGOpNode>() {

0 commit comments

Comments
 (0)