You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In classQuanvCircuit, '+=' in the init function definition was replaced with two lines because QuantumCircuit said it could not be used. Does this mean the same thing? I also wonder if there is a better solution.
Hello. Thank you for the interesting project.
In classQuanvCircuit, '+=' in the init function definition was replaced with two lines because QuantumCircuit said it could not be used. Does this mean the same thing? I also wonder if there is a better solution.
# self._circuit += random_circuit(self.n_qubits, 2) self._circuit = random_circuit(self.n_qubits, 1) #replaced self._circuit = random_circuit(self.n_qubits, 1) #replaced
The text was updated successfully, but these errors were encountered: