Floki00 commited on
Commit
c12dfb0
·
1 Parent(s): eb94fc8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ def get_correct_qcs_image(srv, num_of_qubits, max_gates, g):
39
  out_tensor = generate_srv_tensors(pipeline, f"Generate SRV: {srv}", samples=6, system_size=num_of_qubits, num_of_qubits=num_of_qubits, max_gates=max_gates, g=g)
40
  qc_list, _, svr_list = convert_tensors_to_srvs(out_tensor, pipeline.gate_pool)
41
 
42
- fig, axs = plt.subplots(2, 3, figsize=(15,7), constrained_layout=True)
43
  for qc,is_svr,ax in zip(qc_list, svr_list, axs.flatten()):
44
  qc.draw("mpl", plot_barriers=False, ax=ax)
45
  ax.set_title(f"{'Correct' if is_svr==srv else 'NOT correct'}, is SRV = {is_svr}")
 
39
  out_tensor = generate_srv_tensors(pipeline, f"Generate SRV: {srv}", samples=6, system_size=num_of_qubits, num_of_qubits=num_of_qubits, max_gates=max_gates, g=g)
40
  qc_list, _, svr_list = convert_tensors_to_srvs(out_tensor, pipeline.gate_pool)
41
 
42
+ fig, axs = plt.subplots(2, 3, figsize=(15,7), constrained_layout=True, dpi=200)
43
  for qc,is_svr,ax in zip(qc_list, svr_list, axs.flatten()):
44
  qc.draw("mpl", plot_barriers=False, ax=ax)
45
  ax.set_title(f"{'Correct' if is_svr==srv else 'NOT correct'}, is SRV = {is_svr}")