Skip to main content

An open-source, CPU-only scientific computing framework focused on quantum physics simulations and numerical methods.

Project description

USEL

USEL () is an open-source, CPU-only scientific computing framework focused on quantum physics simulations and numerical methods.

Version 1.0 establishes the mathematical and computational foundation — matrix and linear algebra utilities, numerical solvers, FFT-based frequency analysis, random number generation, configuration/IO/logging utilities, and a CLI — for future quantum mechanics, computational physics, and quantum information modules.

Features

  • Runs efficiently on standard consumer hardware, no GPU required
  • Operates within 8 GB RAM
  • Cross-platform (Windows, Linux, macOS)
  • Modular, extensible architecture
  • Fully typed, PEP 8 compliant codebase

Installation

uv sync
uv run usel version

Or, for local development:

git clone https://github.com/usel/usel.git
cd usel
uv sync --group dev

See the examples directory for more, including eigenvalue solving, ODE integration, FFT analysis, and numerical integration.

Command Line Interface

uv run usel version
uv run usel doctor
uv run usel benchmark --size 200
uv run usel info
uv run usel config path/to/config.yaml
uv run usel test

Modules

Module Description
usel.math Matrix creation, algebra, norms, FFT transforms
usel.linalg Eigenvalues/vectors, SVD, QR, LU, Cholesky
usel.solvers Root finding, ODE solvers, numerical integration
usel.random Random matrices, vectors, and distributions
usel.utils Timing, profiling, validation, precision control
usel.logging Console/file loggers, performance logger
usel.config YAML/JSON/TOML configuration loading
usel.io CSV/JSON/NumPy binary/text file I/O
usel.cli Command line interface

Non-Goals (v1.0)

This release intentionally excludes the Schrödinger equation, quantum circuits/gates/qubits, machine learning, chemistry simulation, GPU/cloud computing, and AI integration. These are planned for future releases (see CHANGELOG.md and the roadmap below).

Roadmap

  • v1.0 — Scientific Computing Foundation

    • Core numerical engine
    • Linear algebra utilities
    • Matrix operations
    • Numerical solvers
    • FFT and mathematical utilities
    • Configuration, logging, and CLI support
  • v2.0 — Quantum Physics Engine

    • Schrödinger equation module
    • Quantum wavefunction utilities
    • Potential models
    • Hamiltonian construction
    • Time evolution and visualization
  • v3.0 — Relativistic & Computational Physics

    • Dirac equation module
    • Spinor algebra
    • Gamma matrix operations
    • Relativistic particle simulations
    • Maxwell equation module
    • Electromagnetic field simulations

Still more planning is going on this.

Development

uv sync --group dev
uv run pytest
uv run ruff check .
uv run black --check .
uv run mypy src

Documentation

Full documentation is built with MkDocs:

uv run mkdocs serve

Contributing

Contributions are welcome! See CONTRIBUTING.md for guidelines.

Security

usel performs no telemetry, no network communication, and no data collection. It is fully offline capable.

License

MIT — see LICENSE.

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

usel-1.0.4.tar.gz (28.6 kB view details)

Uploaded Source

Built Distribution

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

usel-1.0.4-py3-none-any.whl (39.6 kB view details)

Uploaded Python 3

File details

Details for the file usel-1.0.4.tar.gz.

File metadata

  • Download URL: usel-1.0.4.tar.gz
  • Upload date:
  • Size: 28.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for usel-1.0.4.tar.gz
Algorithm Hash digest
SHA256 a9b40b095dfcff038c288c786455e941a824afaad395719bff61795780d5887a
MD5 1e7319bcea36135123412060051653a3
BLAKE2b-256 ee9d7434cc9b8acb3eab0b7b87def1c4e6c2d0d0b830b54dd482caea8f575c56

See more details on using hashes here.

Provenance

The following attestation bundles were made for usel-1.0.4.tar.gz:

Publisher: release.yml on goutam-tech/USEL

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file usel-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: usel-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 39.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for usel-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d67716930560fd19f48a0ab0bf9464d636531e8d1764a6023fc3505c875ec6c0
MD5 7d90755e921a30eaa64d76b4c710adfc
BLAKE2b-256 69c6f38e6b0f0b2065ffb4e20b01fb76eb03c1809dba0f026f89dcd057416154

See more details on using hashes here.

Provenance

The following attestation bundles were made for usel-1.0.4-py3-none-any.whl:

Publisher: release.yml on goutam-tech/USEL

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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