Remote hardwareRemote hardware
Jobs on a backend
Submit a circuit as a job to a remote backend from the app or the terminal, and follow it.
A job is one circuit run on a remote backend, which returns its measurement counts. You reach backends through your own account: see Remote hardware.
When a job goes to a backend
Mythicals decides where to run your circuit, in this order:
- A small circuit you can simulate in an instant runs on the local state-vector simulator on your computer.
- Anything the local simulator can still handle runs there too, offline and free.
- Only when it is too large for your machine, or you ask for a backend, it goes remote.
Mythicals asks before it submits a job, and says in the result which backend ran it. Any charge for a remote run is billed by your provider; Mythicals itself adds nothing.
Submitting from the app
Ask in the app or the terminal: "simulate this circuit on a backend", or "run grover on the ibm backend and show the counts".
The backend sees only the circuit you send, as OpenQASM 3, so the job carries all it needs. Mythicals can send it one of these ways:
- A circuit as OpenQASM. Mythicals compiles your design to the gate set in
qelib1.incand lists each measurement, such asc[0] = measure q[0], with a shot count you set asshots. Keep your key local. - A backend endpoint, chosen in settings. It is any OpenQASM-compatible
httpsaddress on the provider you added, such as IBM Quantum or AWS Braket, using your stored key. - No backend, to run the circuit on the local simulator.
Submitting from the terminal
mythicals sim bell.qasm --backend ibm --shots 1024Mythicals submits the job, polls until it finishes, and prints the counts. Options:
| Option | Does |
|---|---|
--backend <name> | the backend to run on, from your added providers |
--shots <n> | how many shots to measure |
--no-wait | submit it, print its job id and return |
--tier and --model are ignored for a backend: the provider decides the hardware and its basis gates. --thread is refused, since a job does not carry on an earlier one.
Following a job
Closing the app or the laptop does not stop a running job.
mythicals list
mythicals show <id>list shows your recent jobs and how each stands. show prints one job's counts, or how it stands. A job is queued, running, done, failed or cancelled. When a backend is busy, it waits in the provider's queue. The Cloud page lists your latest jobs too.
What a job returns
The measurement counts, as a table and a histogram you can open or export. To see the full run, open the job from the Cloud page. It is kept with your recent runs for you to open again later.
- Counts come as a map from each bitstring to its tally, and you can export them to
counts.json. - Exact probabilities are available too, from the final statevector, such as
0.5000,amplitudesandphases. Both are shown beside the counts in the app. - A cancelled job, or one the backend rejects, returns no counts.
Check the counts against what you expected before you rely on them.
Cancelling a job
mythicals listA queued job can be cancelled through your provider's console; Mythicals then stops polling it.