Using MythicalsThe CLI
Commands and options
Everything mythicals takes on the command line: its commands and its options.
mythicals help prints this list too.
Commands
| Command | Does |
|---|---|
mythicals | open the desktop app |
mythicals sim <circuit> | run a circuit and print a measured histogram; see Scripts and one-shot runs |
mythicals qasm <circuit> | print the circuit as OpenQASM 3 |
mythicals draw <file> | pick a verifiable fair winner from a real measurement |
mythicals seed | print a quantum random hex seed |
mythicals list | list the built-in circuits |
mythicals help | the list of commands and options |
Options
| Option | Does |
|---|---|
--shots <n> | how many measurements a sim run takes (1024) |
--backend <url> | run on a remote OpenQASM endpoint instead of the local simulator |
--token <t> | the bearer token sent to that endpoint |
--bits <n> | with seed: how many random bits (256) |
-h, --help | the list of commands and options |
-V, --version | which version this is |
Credentials for a backend stay on this computer; see Keys in the terminal.
Examples
mythicals sim bell --shots 4096
mythicals qasm ghz > ghz.qasm
mythicals sim grover --backend https://qpu.example/run --token $QPU_TOKENThe circuits are super, bell, ghz and grover; list prints them.