Skip to content

Commit

Permalink
Update src/qibo/backends/numpy.py
Browse files Browse the repository at this point in the history
  • Loading branch information
renatomello authored Sep 26, 2024
1 parent ad25c2c commit af6cdf0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/qibo/backends/numpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,6 @@ def execute_circuit(self, circuit, initial_state=None, nshots=1000):
if circuit.density_matrix:
if initial_state is None:
state = self.zero_density_matrix(nqubits)

else:
state = self.cast(initial_state)

Expand Down

0 comments on commit af6cdf0

Please sign in to comment.