Fast compute engine for QIG geometry — analytical QFI, GPU contractions, observable governance
Project description
qig-compute
Fast compute engine for QIG geometry — analytical QFI, GPU contractions, observable governance.
Install
pip install qig-compute # numpy only
pip install qig-compute[tenpy] # + TeNPy for MPS-QFI
pip install qig-compute[gpu] # + CuPy for GPU acceleration
pip install qig-compute[full] # everything
Usage
from qig_compute.qfi_analytical import qfi_analytical, qfi_with_governance
# Compute QFI from a single MPS ground state (zero DMRG loops)
F = qfi_analytical(psi_mps, L=6, sites=pruned_sites)
# With governance checks (warns about blindspots, auto-fills cheap measurements)
F, report = qfi_with_governance(psi_mps, L=6, h=1.0, J=1.0)
print(report.summary())
Observable Governance
Built-in blindspot detection warns when:
- Results only tested in one regime
- Observable amplitude collapses (wrong channel)
- FFT frequency at resolution floor
- DMRG bond dimension at limit
- Energy gap not measured (auto-fills if cheap)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
qig_compute-0.1.0a1.tar.gz
(7.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file qig_compute-0.1.0a1.tar.gz.
File metadata
- Download URL: qig_compute-0.1.0a1.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"25.10","id":"questing","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
daa46aa6522435b7027c68f1db7f21eea4d14fd62ea32a9142be354b800da4b1
|
|
| MD5 |
c067a6f817873d4f56721f32e12bd747
|
|
| BLAKE2b-256 |
f49e1f8ce149a9caeade6c2361c55151e57d6d9297477fa2a6e3be9c0d260858
|
File details
Details for the file qig_compute-0.1.0a1-py3-none-any.whl.
File metadata
- Download URL: qig_compute-0.1.0a1-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"25.10","id":"questing","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
35d5ba30a114c76b733958fada417925ba63bdcb90ff07ccbbe1ff7eecec3347
|
|
| MD5 |
c7d5f61e67f9374f3d671b09dcf5feac
|
|
| BLAKE2b-256 |
96b3abeec278d0b484e893f8d2aa433a12010e3bf5f3a0123d8e05386918f1a7
|