MCPcopy Index your code
hub / github.com/Apress/quantum-machine-learning-python

github.com/Apress/quantum-machine-learning-python @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
148 symbols 418 edges 32 files 26 documented · 18%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Apress Source Code

This repository accompanies Quantum Machine Learning with Python by Santanu Pattanayak (Apress, 2021).

Cover image

Download the files as a zip using the green button, or clone the repository to your machine using Git.

Releases

Release v1.0 corresponds to the code in the published book, without corrections or updates.

Contributions

See the file Contributing.md for more information on how you can contribute to this repository.

Core symbols most depended-on inside this repo

measure
called by 24
Chapter_5/listing5_1/QuantumPhaseEstimation.py
run
called by 16
Chapter_6/listing6_1/QCNN.py
simulate
called by 6
Chapter_5/listing5_1/HHL.py
run
called by 5
Chapter_5/listing5_4/QuantumKmeans.py
euclid_gcd
called by 5
Chapter_4/listing4_3/period_finding.py
plot
called by 4
Chapter_5/listing5_4/QuantumKmeans.py
qft_circuit
called by 4
Chapter_4/listing4_1/quantum_fourier_transform.py
circuit
called by 2
Chapter_5/listing5_1/QuantumPhaseEstimation.py

Shape

Method 88
Function 38
Class 22

Languages

Python100%

Modules by API surface

Chapter_6/listing6_2/tfq_mnist.py12 symbols
Chapter_6/listing6_1/QCNN.py12 symbols
Chapter_5/listing5_1/QuantumPhaseEstimation.py11 symbols
Chapter_7/listing7_3/QAOA.py10 symbols
Chapter_5/listing5_4/QuantumKmeans.py9 symbols
Chapter_4/listing4_3/period_finding.py9 symbols
Chapter_4/listing4_1/quantum_fourier_transform.py7 symbols
Chapter_7/listing7_4/quantum_random_walk.py6 symbols
Chapter_7/listing7_2/Max_cut_clustering.py6 symbols
Chapter_5/listing5_5/qsvm_new.py6 symbols
Chapter_5/listing5_1/EigenValueInversion.py6 symbols
Chapter_5/listing5_1/EigenRotation.py6 symbols

For agents

$ claude mcp add quantum-machine-learning-python \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact