Skip to content

Commit

Permalink
avoid copy of full circuit in tomography experiment
Browse files Browse the repository at this point in the history
  • Loading branch information
eendebakpt committed Aug 24, 2023
1 parent c66034c commit 062ce91
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def circuits(self):
# Add target circuit
# Have to use compose since circuit.to_instruction has a bug
# when circuit contains classical registers and conditionals
circ = circ.compose(self._circuit, circ_qubits, circ_clbits)
circ.compose(self._circuit, circ_qubits, circ_clbits, inplace=True)

# Add tomography measurement
if meas_element:
Expand Down

0 comments on commit 062ce91

Please sign in to comment.