Spaces:
Runtime error
Runtime error
harishaseebat92
commited on
Commit
·
4f10fce
1
Parent(s):
32ac52c
fixed the issue where two output windows were showing when running the IBM QPU backend in the EM app
Browse files
em/ui.py
CHANGED
|
@@ -586,7 +586,7 @@ def _build_output_config_card():
|
|
| 586 |
def _build_main_plot_area():
|
| 587 |
"""Build the main plot area (PyVista for Simulator)."""
|
| 588 |
with vuetify3.VCard(
|
| 589 |
-
v_if="geometry_selection && ((backend_type !== 'QPU' && !(backend_type === 'Simulator' && selected_simulator === 'Statevector Estimator')) || !qpu_ts_ready)",
|
| 590 |
classes="mb-1 flex-grow-1 d-flex flex-column",
|
| 591 |
style="min-height: 0;",
|
| 592 |
):
|
|
|
|
| 586 |
def _build_main_plot_area():
|
| 587 |
"""Build the main plot area (PyVista for Simulator)."""
|
| 588 |
with vuetify3.VCard(
|
| 589 |
+
v_if="geometry_selection && ((backend_type !== 'QPU' && !(backend_type === 'Simulator' && selected_simulator === 'Statevector Estimator')) || !qpu_ts_ready) && !(is_running && (backend_type === 'QPU' || (backend_type === 'Simulator' && selected_simulator === 'Statevector Estimator')))",
|
| 590 |
classes="mb-1 flex-grow-1 d-flex flex-column",
|
| 591 |
style="min-height: 0;",
|
| 592 |
):
|