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 pytest --cov=./ --cov-report xml

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.6.tar.gz (41.8 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.6-py3-none-any.whl (59.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: usel-1.0.6.tar.gz
  • Upload date:
  • Size: 41.8 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.6.tar.gz
Algorithm Hash digest
SHA256 8ca03e356d4b8f0affbd4b9bef3926b7417a00d73f0c90321d235b337ddfee8c
MD5 8ca23836d13e537e47cfc52abc8d1dfe
BLAKE2b-256 e046b5a637b152158c31886354a3095e85dcf58a8bc7d7c80b62327a415dda02

See more details on using hashes here.

Provenance

The following attestation bundles were made for usel-1.0.6.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.6-py3-none-any.whl.

File metadata

  • Download URL: usel-1.0.6-py3-none-any.whl
  • Upload date:
  • Size: 59.4 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 5790c0956b7e8714f20cd7009517aa308a6e24c0cf91920fe69db38671db7ed3
MD5 f443153119f73e5e49ce231c7ea7d390
BLAKE2b-256 11ce70cd0cd16c8df04979ffc209d81b068c1eba14e5e57ea3cca9d4e442099a

See more details on using hashes here.

Provenance

The following attestation bundles were made for usel-1.0.6-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