Using Mythicals
The local simulator
Running circuits on the built-in state-vector simulator: why, and what you need.
Mythicals simulates quantum circuits on your own computer with a built-in state-vector simulator. Your circuits never leave the machine, nothing is paid per run, and it keeps working with no internet.
The trade is size. A laptop holds the full state of roughly 26 qubits; each extra qubit doubles the memory, so a larger circuit needs a remote backend.
What you need
- The built-in simulator. Mythicals runs circuits itself, with no setup. It can also POST OpenQASM to a local HTTP server, like any gateway. A local endpoint you run, and your own simulator server is added by its address.
- A circuit that fits. Your memory sets the qubit count: see Choosing a model.
- The gates it supports. The simulator supports H, X, Y, Z, S, T, CX, CZ, CCZ, RX, RY, RZ and SWAP, enough for any circuit.
No account and no key are needed to simulate locally.
In this section
- A local endpoint: a local OpenQASM HTTP server
- Other local servers: connecting your own OpenQASM endpoint
- Choosing a model: how many qubits fit, and which backend
- Working offline: what still works with no internet, which is everything local
- Serving your accounts to other tools: exposing a local OpenQASM endpoint
The same simulator is available from the command line: see the CLI.