Skip to main content

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 — Schrödinger Module

    • Non-relativistic quantum state evolution
    • Grid, operator, and Hamiltonian construction
    • Multiple time-evolution schemes (Crank-Nicolson, split-operator, RK4)
  • v2.0 — Dirac Equation Module

    • Relativistic 1D Dirac equation solver
    • Spinor algebra and Pauli/Dirac matrix library
    • Matrix-exponential propagation
  • v3.0 — Maxwell Equation Module

    • Electromagnetic field simulations
    • Symbolic and numerical field solvers
  • v4.0 — Black-Scholes Module

    • Analytical option pricing, Greeks, and put-call parity
    • Implied volatility and Black-Scholes PDE solver
    • Monte Carlo pricing with variance reduction

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.

Metadata

Release files for usel 1.0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for usel 1.0.8
File Size Uploaded
usel-1.0.8.tar.gz 54.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for usel 1.0.8
File Interpreter ABI Platform
usel-1.0.8-py3-none-any.whl Python 3 none any Details

Total release size: 131.8 kB

Release files / usel-1.0.8.tar.gz

Download URL usel-1.0.8.tar.gz
Size 54.6 kB
Tags Source
SHA-256 checksum
How to use checksums
1b6c2898afbdaf664a98237c77896408bc4493b10f62ae77eaf2adce2b4665f8
BLAKE2b-256 checksum
How to use checksums
8e5decf709bc2911b260c402da90a09bf0a07a98aa5adc964e3f59ca52d7ee25
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 18, 2026.

Transparency log

Release files / usel-1.0.8-py3-none-any.whl

Download URL usel-1.0.8-py3-none-any.whl
Size 77.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2f84684063dcdc58643b11de29264c3e81d80ba25a66f375d7fc4884d6d36ee8
BLAKE2b-256 checksum
How to use checksums
324eaaffec579e1cb282630cabe5ddcd8b0a53f94107e5c49f8a9f3c00c363b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 18, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.0.8 This release

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page