shiavm006 commented on code in PR #1072:
URL: https://github.com/apache/mahout/pull/1072#discussion_r2833779180
##########
qumat/cirq_backend.py:
##########
@@ -106,23 +107,26 @@ def execute_circuit(circuit, backend, backend_config):
shots = backend_config["backend_options"].get("shots", 1)
return [{0: shots}]
+ # Create a working copy to avoid mutating the original circuit
+ working_circuit = copy.deepcopy(circuit)
Review Comment:
doing this to
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]