Examples¶
Seven scripts, from the repository’s
examples/
folder. Run each from the repository root, e.g.
python examples/hamiltonian_vqe.py. Scripts with a --cloud flag run the same
code on the Qoro cloud: see Run on the Qoro cloud
to set up an API key.
Example |
What it shows |
|---|---|
Training a circuit and sampling a 50-qubit state on the Qoro cloud |
|
VQE for a 20-qubit Ising chain with adjoint gradients, checked against the exact energy ( |
|
QAOA for MaxCut, trained with adjoint gradients and sampled for the best cut ( |
|
A classifier trained on a broadcast batch in one engine call ( |
|
A quench with MPS shot sampling (needs |
|
Persistent-state Trotter evolution with |
|
The benchmark suite behind the performance tables (needs |