Loading func_qc.py +2 −2 Original line number Diff line number Diff line Loading @@ -83,7 +83,7 @@ def qc_circ(n_qubits_matrix, classical_solution, args, input_vars): t = time.time() circ = qiskit.qasm3.load(f'{savefilename}.qasm') t_load = time.time() - t print(f'===============Loaded circuit (before transpile) using pickled data==============') print(f'===============Loaded circuit (before transpile) ==============') print(f'Time elapsed for loading circuit: {int(t_load/60)} min {t_load%60:.2f} sec', flush=True) circ.measure_all() if args.drawcirc: print(f'Circuit:\n{circ.draw()}', flush=True) Loading @@ -96,7 +96,7 @@ def qc_circ(n_qubits_matrix, classical_solution, args, input_vars): t = time.time() isa_circ = qiskit.qasm3.load(f'{savefilename}.qasm') t_load = time.time() - t print(f'===============Loaded transpiled circuit using pickled data==============') print(f'===============Loaded transpiled circuit ==============') print(f'Time elapsed for loading circuit: {int(t_load/60)} min {t_load%60:.2f} sec', flush=True) else: t = time.time() Loading Loading
func_qc.py +2 −2 Original line number Diff line number Diff line Loading @@ -83,7 +83,7 @@ def qc_circ(n_qubits_matrix, classical_solution, args, input_vars): t = time.time() circ = qiskit.qasm3.load(f'{savefilename}.qasm') t_load = time.time() - t print(f'===============Loaded circuit (before transpile) using pickled data==============') print(f'===============Loaded circuit (before transpile) ==============') print(f'Time elapsed for loading circuit: {int(t_load/60)} min {t_load%60:.2f} sec', flush=True) circ.measure_all() if args.drawcirc: print(f'Circuit:\n{circ.draw()}', flush=True) Loading @@ -96,7 +96,7 @@ def qc_circ(n_qubits_matrix, classical_solution, args, input_vars): t = time.time() isa_circ = qiskit.qasm3.load(f'{savefilename}.qasm') t_load = time.time() - t print(f'===============Loaded transpiled circuit using pickled data==============') print(f'===============Loaded transpiled circuit ==============') print(f'Time elapsed for loading circuit: {int(t_load/60)} min {t_load%60:.2f} sec', flush=True) else: t = time.time() Loading