Developers
Developers
Using Mythicals from your own programs: the CLI, scripting circuits and exporting OpenQASM.
Mythicals runs on your computer, and your programs reach it through the mythicals command. There are three things it does:
| You want to | Use | See |
|---|---|---|
| simulate a circuit and read the measurement counts | mythicals sim | Simulating circuits |
| export a circuit as OpenQASM 3 | mythicals qasm | Exporting OpenQASM |
| run a circuit on a remote endpoint | mythicals sim --backend | Remote backends |
Building on Mythicals shows how to script circuits, export QASM and add a remote backend.
Credentials and backends
There are no API keys and no account for the local simulator — it runs offline and free. To run on a remote endpoint instead, add its URL and your own credentials; they are stored locally and never leave your computer except in the request to that endpoint. See Remote backends.
To choose where a circuit runs, see Backends, or the CLI for a one-off run.