Skip to main content

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


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.2.0.tar.gz (17.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qig_compute-0.2.0-py3-none-any.whl (21.3 kB view details)

Uploaded Python 3

File details

Details for the file qig_compute-0.2.0.tar.gz.

File metadata

  • Download URL: qig_compute-0.2.0.tar.gz
  • Upload date:
  • Size: 17.1 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

Hashes for qig_compute-0.2.0.tar.gz
Algorithm Hash digest
SHA256 5581efd1537ef15cacdf54ee214d9ea1e3ed1d755ef0680a4bb03f25723ce451
MD5 cf6fd3915cf9c7b8f7231e2a761f69d2
BLAKE2b-256 f17bbcb29c70610549458265391ac6d2d686d6ba2659613d75f82ef6dd0075c0

See more details on using hashes here.

File details

Details for the file qig_compute-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: qig_compute-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 21.3 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

Hashes for qig_compute-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 57a45ccdaa9b47cbd7957e98073ef7460d74af6fe464e08bbb48fa50021dab34
MD5 26232b596c3c3888e89ce8ff04d37e34
BLAKE2b-256 ed333c06b82236261db6e61ed42edef4da11dfd0abc0d55c17561389cf8fe490

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page