Skip to main content

Benchmark QC Hamiltonians (N2, FeS, U2)

Project description

Benchmark-QC

Docs

Benchmark qubit Hamiltonians for N2, FeS, and U2.

This repo stores pre-generated Hamiltonians in .npz files (one per system) and provides:

  • A small Python package (benchmark_qc/) with shared utilities
  • Backwards-compatible notebook wrappers in each system folder
  • Simple test scripts that validate the saved Hamiltonians

Documentation

Start here: docs/README.md

Install (recommended)

Editable install so notebooks/scripts can import the package from any folder:

  • pip install -e .

If you prefer conda, see docs/USAGE.md for the bench environment setup.

Run Hamiltonian sanity checks

From the repo root:

  • python N2/test_n2_hamiltonian.py --index 0
  • python FeS/test_fes_hamiltonian.py --index 0
  • python U2/test_u2_hamiltonian.py --index 0

Notes

  • FeS is open-shell/high-spin. The FeS test restricts diagonalization to the same (N_alpha, N_beta) sector as the stored CASCI reference (see docs/USAGE.md).
  • The saved .npz files include a labels array (bond lengths). The exact per-system grids are listed in docs/USAGE.md under “Stored geometry points (bond lengths)”.

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

benchmark_qc-0.1.0.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

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

benchmark_qc-0.1.0-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file benchmark_qc-0.1.0.tar.gz.

File metadata

  • Download URL: benchmark_qc-0.1.0.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.13

File hashes

Hashes for benchmark_qc-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f4a30e96245c162b2159b52e6f1eb0ffcabe21a8dc398dfa07c93974eb68d96c
MD5 3af7e39c592e190b4a18bce4f4652555
BLAKE2b-256 d17527f700382ea21b9b9b04396516f1526be7fd8c5a90d98a2ba83e35e2c7e7

See more details on using hashes here.

File details

Details for the file benchmark_qc-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: benchmark_qc-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.13

File hashes

Hashes for benchmark_qc-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 86c8afbdaf8d39c0e2feba4881baa303bb3efaffd62deb2a9e2a33f63138cf08
MD5 e83e44b9d2ef31774d7e40cdd89ae647
BLAKE2b-256 e675336904b1809670cf220bee7ddc14af59d27f0fcd2301c7ad13d04f98f28b

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