Quantum AI Systems: Theory, Architecture, and Applications

Quantum AI Systems — Appendix E Hands-On Labs

This page lists the complete set of Appendix E companion laboratories for Quantum AI Systems: Theory, Architecture, and Applications.

All labs are designed for execution in Google Colab or locally with Python 3.10+ and Qiskit, but access to runnable labs is managed from the Labs Hub.

Repository Structure

qais-labs/ │ ├─ Beginner_Labs/ ← Labs E.1.1 – E.1.11 (mapped to Chapters 1–11) │ ├─ notebooks/ ← Jupyter / Colab notebooks (.ipynb) │ └─ AppendixE_Beginner_&_Advance_Labs.pdf │ ├─ Intermediate_Labs/ ← Labs E.2.1 – E.2.6 (mapped to Chapters 5, 8, 9, 10) │ └─ notebooks/ │ ├─ Advanced_Labs/ ← Labs E.3.1 – E.3.8 (mapped to Chapters 1–13) │ └─ notebooks/ │ └─ README.md

Getting Started

Use the Labs Hub to access available lab tracks and secure entry points for gated content. Public preview materials, book-access pathways, and instructor-only routes are managed there.

Go to Labs Hub

This catalog is a professional reference page only. Labs are not launched from this page.

Beginner Labs (Part 1 / E.1)

Lab # Chapter Title
Lab 1Ch. 1 — Foundations of QAISSuperposition — Probability Distribution
Lab 2Ch. 1 — Foundations of QAISBell State (Entanglement) — Correlated Outcomes
Lab 3Ch. 2 — Operations & Scientific FrameworkAngle Encoding & Statevectors — Bloch Sphere
Lab 4Ch. 4 — Encoding Classical DataQuantum Kernel SVM vs Logistic Regression
Lab 5Ch. 2 — Operations & Scientific FrameworkDepth & Noise Sensitivity — Probability Decay
Lab 6Ch. 10 — Quantum CommunicationQuantum Teleportation (Protocol Demo)
Lab 7Ch. 8 — Optimization & ControlZZ Expectation Scan (QAOA-style Observable)
Lab 8Ch. 10 — Quantum CommunicationBB84 QKD — Error Rate Comparison
Lab 9Ch. 9 — Quantum Encoding & Info MetricsFidelity & Trace Distance
Lab 10Ch. 10 — Quantum CommunicationEntanglement-Assisted Tamper Check
Lab 11Ch. 8 — Optimization & ControlSimple VQE-Style Minimization

Intermediate Labs (Part 2 / E.2)

Lab # Chapter Title
E.2.1Ch. 5 — Quantum Reasoning and Decision ArchitecturesHybrid / ML Comparison — Quantum Kernel SVM vs Logistic Regression
E.2.2Ch. 8 — Optimization and Control in Quantum AI SystemsQuantum Control & Parameter Sweeps — ⟨ZZ⟩ Scan
E.2.3Ch. 10 — Quantum Communication for Distributed AI SystemsQuantum Communication & Encoding — BB84 QKD
E.2.4Ch. 9 — Quantum Encoding & Information MetricsFidelity & Trace Distance — Robustness Metrics
E.2.5Ch. 10 — Quantum Communication for Distributed AI SystemsTrust / Tamper Verification — Entanglement Tamper Check
E.2.6Ch. 8 — Optimization and Control in Quantum AI SystemsQuantum Optimization under Noise — VQE Toy Minimization

Advanced Labs (Part 3 / E.3)

Lab # Chapter Title
Adv. 1Ch. 2 — Operations & Scientific FrameworkBloch Trajectories Under Composite Gates
Adv. 2Ch. 1 — Foundations of QAISCHSH Correlation Sweep
Adv. 3Ch. 7 — Quantum Machine Learning ArchitecturesTiny VQC vs Logistic Regression
Adv. 4Ch. 12 — Capstone QAIS IntegrationRealizing Applied Quantum AI Systems → QALIS and CRQC-LLM
Adv. 5Ch. 6 — Quantum Advantage in QAISGrover Success vs Noise
Adv. 6Ch. 9 — Quantum Encoding & Info MetricsDensity Matrix Simulation
Adv. 7Ch. 13 — Extended Case StudiesCase Study Stress-Test
Adv. 8Ch. 6 — Quantum Advantage in Quantum AI SystemsShor’s Algorithm — Period Finding via Quantum Fourier Transform

Expected Results Guide

Lab # Title Expected Results
Lab 1SuperpositionBalanced counts for |0⟩ and |1⟩, confirming superposition.
Lab 2Bell StateOnly 00 and 11 appear, showing entanglement.
Lab 3Angle EncodingBloch vectors rotate with input features; amplitudes match encodings.
Lab 4Quantum Kernel SVMQuantum kernel shows nonlinear structure; logistic regression gives linear baseline.
Lab 5Depth & NoiseProbability decays with depth under noise; flat under ideal simulation.
Lab 6TeleportationDestination qubit matches original state after corrections.
Lab 7ZZ Expectation Scan⟨ZZ⟩ oscillates smoothly with scan angle.
Lab 8BB84 QKDQBER remains low without Eve and rises sharply when Eve is present.
Lab 9Fidelity & Trace DistanceFidelity decreases while trace distance rises under perturbation.
Lab 10Tamper CheckUntampered runs show only 00/11; tampered runs introduce 01/10.
Lab 11VQEEnergy curve decreases and converges toward the minimum.
E.2.1Hybrid / ML ComparisonQuantum kernel heatmap shows nonlinear structure; logistic regression provides a linear baseline.
E.2.2⟨ZZ⟩ Scan⟨ZZ⟩ varies smoothly and periodically with scan angle, revealing interference structure.
E.2.3BB84 QKDQBER remains low without Eve and rises sharply with interception.
E.2.4Fidelity & Trace DistanceFidelity decreases and trace distance increases with stronger perturbation.
E.2.5Tamper VerificationUntampered runs show 00/11 only; tampering introduces 01/10.
E.2.6VQE Toy MinimizationEnergy decreases with iterations and converges near the minimum.
Adv. 1Bloch TrajectoriesDistinct Bloch sphere paths confirm that gate order matters.
Adv. 2CHSH SweepS-value exceeds 2 and approaches the Tsirelson bound (~2.828).
Adv. 3Tiny VQCNonlinear decision boundary richer than logistic regression.
Adv. 4Hybrid PipelineHigh accuracy (~0.95–0.97) with structured kernel heatmap.
Adv. 5Grover vs NoiseSuccess probability decays as noise increases.
Adv. 6Density MatrixMixed states contract the Bloch sphere and reduce coherence.
Adv. 7Case Study Stress-TestStress tests reveal resilience challenges in QALIS vs. CRQC–LLM.
Adv. 8Shor’s AlgorithmQFT measurement histograms reveal periodic frequency peaks. Continued-fraction decoding identifies candidate periods, illustrating the order-finding mechanism underlying Shor’s factoring algorithm.

Citation

If you use these labs in teaching, research, or derivative works, please cite as:

Wilson, J. (2025). Quantum AI Systems: Appendix E Hands-On Labs. Companion Repository.

DOI: https://doi.org/10.5281/zenodo.18955800

Requirements

Notes

All labs are Colab-ready — no local installation is required for supported runs.

For local runs, install dependencies with:

pip install qiskit numpy matplotlib scipy scikit-learn pennylane

Back to Labs Hub

QuSciTech companion labs and supporting materials are maintained through GitHub repositories to support reproducibility, instructional access, and version-controlled research workflows.

quscitech-labs GitHub Profile