Skip to content

Example Notebooks

QuantSDK ships with 22 Jupyter notebooks covering everything from your first quantum circuit to advanced variational algorithms and backend interop. Each notebook is self-contained and can be run locally with JupyterLab.

Quick Setup

pip install "quantsdk[viz,interop]" jupyterlab
jupyter lab

Clone the repo to get all notebooks at once

git clone https://github.com/TheQuantAI/quantsdk.git
cd quantsdk/examples
jupyter lab

Beginner

Foundational concepts — no prior quantum experience required.

# Notebook What You'll Learn Links
01 Hello Quantum Create your first circuit, apply a Hadamard gate, measure, and interpret results. Download · View
02 Bell States Build all four Bell states and verify entanglement through correlated measurements. Download · View · Tutorial
03 GHZ State Extend entanglement to 3+ qubits with the Greenberger–Horne–Zeilinger state. Download · View
04 Single-Qubit Gates Explore Pauli (X, Y, Z), Hadamard, S, T, and rotation gates (Rx, Ry, Rz) on the Bloch sphere. Download · View
05 Multi-Qubit Gates Master CNOT, CZ, SWAP, Toffoli, and Fredkin gates for building complex circuits. Download · View
06 Circuit Inspection Use depth, gate_count, draw(), and count_ops() to analyze circuits. Download · View
07 Results & Visualization Plot histograms, build DataFrames, and compute expectation values from results. Download · View

Intermediate

Quantum algorithms that demonstrate real computational advantage.

# Notebook What You'll Learn Links
08 Quantum Teleportation Teleport a qubit state using entanglement and classical communication. Download · View · Tutorial
09 Deutsch-Jozsa Algorithm Determine if a function is constant or balanced in a single query. Download · View · Tutorial
10 Bernstein-Vazirani Recover a hidden binary string with one quantum query vs. n classical queries. Download · View · Tutorial
11 Simon's Algorithm Find a hidden period with exponential speedup over classical approaches. Download · View · Tutorial
12 Grover's Search Search an unsorted database with quadratic speedup using amplitude amplification. Download · View · Tutorial
13 Quantum Fourier Transform Implement the QFT and inverse QFT — the foundation of Shor's algorithm. Download · View · Tutorial
14 Phase Estimation Estimate eigenvalues of a unitary operator — key subroutine for many algorithms. Download · View

Advanced

Variational algorithms and quantum machine learning.

# Notebook What You'll Learn Links
15 VQE Use the Variational Quantum Eigensolver to find ground-state energies. Download · View · Tutorial
16 QAOA for MaxCut Solve the MaxCut graph problem with the Quantum Approximate Optimization Algorithm. Download · View · Tutorial
17 Quantum Machine Learning Build a parameterized quantum classifier and train it on simple datasets. Download · View
18 Hybrid Algorithms Implement parameter-shift gradients for end-to-end quantum-classical training loops. Download · View · Tutorial

Interop & Backends

Framework integration and multi-backend execution.

# Notebook What You'll Learn Links
19 Qiskit Interop Convert circuits between QuantSDK and Qiskit with to_qiskit() / from_qiskit(). Download · View
20 OpenQASM Interop Export and import circuits via OpenQASM 2.0 for cross-platform portability. Download · View
21 Backend Comparison Run the same circuit on Local, Aer, and IBM backends and compare results. Download · View
22 Advanced Gate Library Showcase all 50+ gates in QuantSDK with parameterized and controlled variants. Download · View

Legend

Icon Meaning
Download Download the .ipynb file directly (right-click → Save As)
View View the notebook on GitHub (rendered preview)
Tutorial Companion step-by-step tutorial in the docs