Quantum-Algorithms
Getting started
Python setup (Qiskit)
Fast path
Manual path
1. Install Miniconda (only if you do not have conda)
2. Create the environment
3. Verify
What gets installed
Miniconda tutorial
What conda is
What an environment is
Everyday commands
Installing packages
Reproducing an environment
Using the environment
Troubleshooting
C++ setup (Qiskit C++ and Armadillo)
Installing Qiskit C++
What Qiskit C++ can and cannot do
Building a program
Quick check without CMake
Tips
IBM setup
IBM Quantum account and Open Plan
What the Open Plan gives you
Step 1: Create an IBM Cloud account
Step 2: Log in to the IBM Quantum Platform
Step 3: Create an Open Plan instance
References
Credentials and first connection
Get your API key
Save the credentials on your machine
Check the connection
Using the Open Plan budget wisely
References
Check your setup and list QPUs
Run it
What it checks
Reading the output
If a check fails
Algorithms
Algorithms
Hidden Subgroup Problem (HSP)
Deutsch / Deutsch-Jozsa
The problem
The oracle
The algorithm
The classical solver
Files
Configuration
Run it
Reading the output
Comparing accuracy across shot counts
Sweeping n and shots on a Slurm cluster
Class demo configs
Sweeping n and shots on a Slurm cluster
What
generate_jobs.sh
writes
Slurm settings
Submitting and tracking
Results
Concepts
Configuration with YAML
The anti-pattern
The pattern
What you gain
Reading the same file in C++
Rules of thumb
Quantum-Algorithms
Index
Index