Using MythicalsThe appThe parts of the window
The side panel
The OpenQASM, Results and Recent runs tabs beside the circuit.
The panel sits on the right of the Lab. Ctrl+J shows or hides it, and Hide the panel closes it. Each tab also has its own key.
| Tab | Key | Shows |
|---|---|---|
| OpenQASM | Ctrl+Shift+E | the current circuit as OpenQASM 3 |
| Results | Ctrl+Shift+D | counts, a histogram and exact probabilities from the last run |
| Recent runs | Ctrl+Shift+J | runs from this session, and remote jobs still going |
On macOS, use Cmd where this page says Ctrl.
A tab needs an open circuit. With none, it says so and offers to open one from Circuits.
OpenQASM
The current circuit written as OpenQASM 3. It updates as you add or change gates in the Lab.
| Button | Key | Does |
|---|---|---|
| Copy | Ctrl+Shift+C | copies the OpenQASM to the clipboard |
| Export .qasm | Ctrl+Shift+S | saves the circuit as an OpenQASM 3 file |
| Open in editor | Ctrl+O | opens the exported file in your editor |
| Show in folder | Ctrl+Shift+R | shows it in its folder |
| Wrap lines, Unwrap lines | Ctrl+I | wraps or unwraps long lines |
| Close the preview | Escape | closes the preview |
Up and Down scroll the code, and Enter jumps the Lab to the matching gate.
Results
The measurement results of the last run, taken on the active backend. S switches between the Histogram and the raw Counts.
For each measured outcome:
| Column | Shows |
|---|---|
| Outcome | the measured bitstring, such as 00 or 11 |
| Count | how many of the shots gave it |
| Probability | its exact probability from the state vector |
Up and Down move between outcomes.
To run and keep a result:
- Set the number of Shots, or 0 for exact probabilities only.
- Press Ctrl+Enter to Run, or C to Copy counts.
- Press E (Export) to save the counts as JSON.
Escape goes back to the Lab.
Recent runs
Every run from this session, newest first, and any remote job still going. The active backend is shown at the top. See What the agent can do.
- Run again repeats the selected run with the same shots. Open in the Lab loads its circuit back into the editor.
- Stop cancels a remote job that is still running. Copy OpenQASM copies that run's circuit.
- Up and Down pick a run. Its counts and histogram show as it finishes.
To open a finished run's numbers:
- Pick it with Up or Down.
- Press Enter, or Open results, to show them in the Results tab.
Escape clears the selection.