Skip to content

Commit

Permalink
Run formatter.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinhartman committed Nov 13, 2023
1 parent 19a2170 commit 43fd555
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion crates/accelerate/src/quantum_circuit/circuit_data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,13 @@ impl CircuitData {
/// Returns:
/// CircuitData: The shallow copy.
pub fn copy(&self, py: Python<'_>) -> PyResult<Self> {
let mut res = CircuitData::new(py, Some(self.qubits.as_ref(py)), Some(self.clbits.as_ref(py)), None, 0)?;
let mut res = CircuitData::new(
py,
Some(self.qubits.as_ref(py)),
Some(self.clbits.as_ref(py)),
None,
0,
)?;
// TODO: reuse intern context once concurrency is properly
res.intern_context = self.intern_context.clone();
res.data = self.data.clone();
Expand Down

0 comments on commit 43fd555

Please sign in to comment.