Mythicals®

Using MythicalsLocal simulator

Your own endpoint

Adding your own simulator server, or any OpenQASM-compatible HTTP endpoint, as a backend.

Any HTTP server that accepts OpenQASM and returns counts can be a backend: your own simulator, a gateway, or a server such as my-qasm-server. Mythicals needs its base URL, the address that ends in /v1, and a key only if the server asks for one.

Add one

In the app: Settings > Accounts, then Add beside "A backend of your own". Give it a name, its base URL (such as http://localhost:1234/v1) and, if it needs one, an API key, then Add backend.

In the terminal: /gateways, then "Add a backend of your own".

Add as many as you like; each gets its own name and appears in the backend menu under it. The usual addresses:

ServerBase URL, by default
A local simulatorhttp://localhost:1234/v1, once it is started
Your server (my-qasm-server)http://localhost:8080/v1
A gatewayhttp://localhost:8000/v1

Start the server so it accepts OpenQASM 3 and a shot count (some need a flag such as --openqasm), or it cannot run your circuits.

Another computer on your network

Plain http:// is allowed to this computer only. A key sent over plain HTTP can be read by anyone else on the network, and that network may be a café's. To reach a server elsewhere on your own network, such as a workstation that simulates more qubits, use HTTPS, or opt in to plain HTTP on the local network:

MYTHICALS_ALLOW_HTTP=1 mythicals

A server out on the internet always needs HTTPS.