Mythicals®

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

CommandDoes
mythicalsopen 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 seedprint a quantum random hex seed
mythicals listlist the built-in circuits
mythicals helpthe list of commands and options

Options

OptionDoes
--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, --helpthe list of commands and options
-V, --versionwhich 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_TOKEN

The circuits are super, bell, ghz and grover; list prints them.