https://github.com/alaweimm90/qubeml

Educational framework for quantum computing and materials informatics using Python, Jupyter, and Colab.

https://github.com/alaweimm90/qubeml

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.4%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Educational framework for quantum computing and materials informatics using Python, Jupyter, and Colab.

Basic Info
  • Host: GitHub
  • Owner: alaweimm90
  • License: mit
  • Language: Jupyter Notebook
  • Default Branch: master
  • Homepage:
  • Size: 81.1 KB
Statistics
  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created 11 months ago · Last pushed 11 months ago
Metadata Files
Readme License

README.md

QubeML

Educational notebooks for quantum computing and materials informatics. Six tool modules: Qiskit/Cirq/PennyLane for quantum algorithms, PyTorch/sklearn/Kwant for materials modeling.

Python 3.9+ MIT License

Overview

Hands-on tutorials covering quantum algorithms for chemistry (VQE, quantum circuits) and ML for materials science (graph neural networks, property prediction). Built for grad students and researchers.

Modules

Quantum Computing - Qiskit: VQE for H2, HeH+ molecules - Cirq: Custom gates, noise simulation - PennyLane: Quantum kernels, variational classifiers

Materials Informatics - PyTorch: Crystal graph convolution networks - Scikit-learn: PCA on materials datasets, property regression - Kwant: 2D material transport, spin-orbit coupling

Topics Covered

| Module | Key Implementations | |--------|-----------------------| | Qiskit | VQE ground states, ansatz comparison, basis set effects | | PyTorch | CGCNN for band gaps, descriptor engineering | | Scikit-learn | Materials Project queries, feature importance | | Kwant | Graphene ribbons, MoS2 transistors | | Cirq | Error mitigation, qubit calibration | | PennyLane | Quantum embeddings, kernel methods |

Structure

quantum_computing/ qiskit/ # VQE tutorials, molecule examples cirq/ # Gate decomposition, error models pennylane/ # Quantum ML demos materials_informatics/ pytorch/ # GNN implementations scikit_learn/ # Classical ML pipelines kwant/ # Transport simulations src/ # Utilities (descriptors, plotting) tests/ # Unit tests

Setup

bash git clone https://github.com/meshalawein/QubeML.git cd QubeML python -m venv venv source venv/bin/activate # Windows: venv\Scripts\activate pip install -r requirements.txt

Google Colab: Notebooks work in Colab's free tier. Upload and run.

Notebooks

Quantum Chemistry (quantum_computing/qiskit/): - Build H2 molecule, run VQE with UCCSD ansatz - Compare to exact diagonalization - Basis set convergence study

Graph Neural Networks (materials_informatics/pytorch/): - Load crystal structures from CIF - Build graph representation - Train CGCNN on Materials Project data

Transport (materials_informatics/kwant/): - Graphene nanoribbon conductance - MoS2 field-effect transistor - Strain effects on band structure

ML Pipelines (materials_informatics/scikit_learn/): - Query MP API for oxide band gaps - Feature engineering from composition - Random forest vs gradient boosting comparison

Applications

These notebooks connect to active research areas: - Quantum advantage for strongly correlated molecules - ML-accelerated materials screening - Topological phases in 2D materials - Interpretable models for experimental validation

Testing

bash python -m pytest tests/ -v python tests/test_quantum_utils.py::TestQuantumUtils::test_bell_states

Contributing

Contributions welcome. See open issues or add examples/fixes via PR.

References

  • Qiskit Textbook: https://qiskit.org/textbook/
  • Materials Project: https://materialsproject.org/
  • CGCNN paper: Xie & Grossman, Phys. Rev. Lett. 120, 145301 (2018)

License

MIT License. See LICENSE.

Author

Meshal Alawein
UC Berkeley
meshal@berkeley.edu

Owner

  • Login: alaweimm90
  • Kind: user

GitHub Events

Total
  • Watch event: 1
  • Push event: 1
  • Create event: 2
Last Year
  • Watch event: 1
  • Push event: 1
  • Create event: 2

Dependencies

.github/workflows/ci.yml actions
  • actions/cache v3 composite
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
  • codecov/codecov-action v3 composite
requirements.txt pypi
  • ase >=3.22.0
  • black >=22.10.0
  • cirq >=1.3.0
  • cirq-core >=1.3.0
  • flake8 >=5.0.0
  • h5py >=3.7.0
  • ipykernel >=6.0.0
  • joblib >=1.2.0
  • jupyter >=1.0.0
  • kwant >=1.4.3
  • matminer >=0.7.0
  • matplotlib >=3.5.0
  • mypy >=0.990
  • nbsphinx >=0.8.0
  • networkx >=2.8.0
  • numpy >=1.21.0,<2.0.0
  • pandas >=1.3.0
  • pennylane >=0.33.0
  • pennylane-qiskit >=0.33.0
  • plotly >=5.11.0
  • pylint >=2.15.0
  • pymatgen >=2023.1.1
  • pytest >=7.2.0
  • pytest-cov >=4.0.0
  • python-dotenv >=0.21.0
  • pyyaml >=6.0
  • qiskit >=0.45.0
  • qiskit-aer >=0.13.0
  • qiskit-nature >=0.7.0
  • requests >=2.28.0
  • scikit-learn >=1.3.0
  • scipy >=1.7.0
  • seaborn >=0.12.0
  • sphinx >=5.3.0
  • sphinx-rtd-theme >=1.1.0
  • torch >=2.0.0
  • torch-geometric >=2.4.0
  • torchvision >=0.15.0
  • tqdm >=4.62.0
  • xgboost >=1.7.0