q2m3: A Hybrid Quantum-Classical QM/MM Simulation Framework
q2m3 is a research framework for hybrid quantum-classical QM/MM (quantum mechanics / molecular mechanics). It connects PySCF molecular models to PennyLane quantum algorithms and resource estimates.
The project is an alpha proof of concept. Its small-system checks do not establish production chemistry accuracy. Read each example's assumptions before interpreting its results.
Install
q2m3 requires Python 3.11+. To use the library, install it in a virtual environment:
python -m venv .venv
source .venv/bin/activate
python -m pip install q2m3
To run examples, use a source checkout with uv:
git clone https://github.com/yjmaxpayne/q2m3.git
cd q2m3
uv sync
Each example guide lists its optional dependencies and execution commands.
Examples and documentation
Start with the example guide. Choose a chapter for runnable examples, inputs, outputs, and scientific limits.
| Topic | Guide |
|---|---|
| Quantum phase estimation (QPE) | QPE examples |
| Sample-based quantum diagonalization (SQD) | SQD examples |
| QM/MM and solvation | QM/MM examples |
| Fragment interactions | Fragment examples |
| Quantum resource estimates | Resource examples |
| Compilation and runtime | Performance examples |
See the documentation site for tutorials, model assumptions, and API references.
Development, citation, and license
See the development guide for tests, code checks, and documentation builds. Follow the contribution notes. Do not commit generated outputs.
For research use, cite the release that produced your results. CITATION.cff contains the citation metadata. q2m3 uses the MIT License.
Metadata
Release files for q2m3 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| q2m3-0.3.0.tar.gz | 1.7 MB | With provenance | Details for q2m3-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| q2m3-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for q2m3-0.3.0-py3-none-any.whl |
Total release size: 1.9 MB
Release files / q2m3-0.3.0.tar.gz
| Download URL | q2m3-0.3.0.tar.gz |
|---|---|
| Size | 1.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d5501623f2366cb6b0c08df257aa384e5beb4897d3a3e438d82502ad2a932865
|
|
BLAKE2b-256 checksum How to use checksums |
fec29e45aa822ab503acbfd25651335f0aea5ecfb88ec4ce06fd37aea39e9eba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.
Transparency logRelease files / q2m3-0.3.0-py3-none-any.whl
| Download URL | q2m3-0.3.0-py3-none-any.whl |
|---|---|
| Size | 223.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
20a184cc5e1b2bf80a9d2a89d3bb41733d95c3473f9c05302153290ef63c3b22
|
|
BLAKE2b-256 checksum How to use checksums |
e534d1be1906573ae918f77f47fdf6cd37fb8051a8f751ef0a637409cfdf05ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.
Transparency logSecurity for q2m3 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for q2m3-0.3.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.