In this repository you will find some well-known Variational Quantum Algorithms (VQA) demos implemented with Tequila language.
You will need to install Tequila and some quantum simulator backend to run them:
- Tequila repository for installation instruction
- Tequila tutorials for usage.
- Tequila paper (eprint: arXiv:2011.03057).
Feel free to fork it and play with these VQA algorithms or use it for your own work. Please, consider citing Tequila paper and the papers used to produce these tutorials.
Content
-
Meta-VQE
andMolecular-Meta-VQE
: two demo examples (XXZ spin chain and$H_{2}$ molecule, respectively) of the meta-VQE algorithm (QML + quantum simulation). -
QAOA
: basic code with a four-qubit QAOA example (Max-Cut problem) and its comparison with a hardware-efficient VQE ansatz. -
QFit
: a single-qubit function learner (quantum supervised learning example). -
SingleQubitClassifier
: a single-qubit quantum classifier example.