From deb7da54fedb0f978940b706d51da3e6abc039fd Mon Sep 17 00:00:00 2001 From: Kesha Hietala Date: Tue, 26 Jul 2022 19:52:19 -0400 Subject: [PATCH] Update Run.ml --- examples/shor/extraction/ml/Run.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/shor/extraction/ml/Run.ml b/examples/shor/extraction/ml/Run.ml index 9cd7991..28efa14 100644 --- a/examples/shor/extraction/ml/Run.ml +++ b/examples/shor/extraction/ml/Run.ml @@ -44,7 +44,7 @@ let run_circuit n c _ = (* simulate circuit using run_circuit.py *) let _ = printf "Simulating circuit, this will take a little while...\n%!" in let start = Unix.gettimeofday () in - let inc = Unix.open_process_in "python3.9 run_circuit.py shor.qasm" in + let inc = Unix.open_process_in "python run_circuit.py shor.qasm" in (* read measurement outcome from console *) try let line = input_line inc in @@ -56,4 +56,4 @@ let run_circuit n c _ = x) with _ -> (close_in_noerr inc; - failwith "ERROR: circuit simulation failed.\n") \ No newline at end of file + failwith "ERROR: circuit simulation failed.\n")