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.7

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.7
File Size Uploaded
usel-1.0.7.tar.gz 54.5 kB Details

Built distribution (wheel)

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

Total release size: 131.7 kB

Release files / usel-1.0.7.tar.gz

Download URL usel-1.0.7.tar.gz
Size 54.5 kB
Tags Source
SHA-256 checksum
How to use checksums
937ec505003f7a2fd7d9627d4ff8f613e66953d6e4659fc1357995d0160950c1
BLAKE2b-256 checksum
How to use checksums
4a1e6c96da3088c444d187576b975d7ee3459581176be01698895c1e17a11263
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 Aug 8, 2026.

Transparency log

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

Download URL usel-1.0.7-py3-none-any.whl
Size 77.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
93c402c5a228730144ced4ec63979f7ba671a30b5812d975055112b10e9f420e
BLAKE2b-256 checksum
How to use checksums
04da230898f26b88f0c58d941421374a6c17f6c111c97ba9b7d6feb20a7666a6
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 Aug 8, 2026.

Transparency log

Release history Release notifications | RSS feed

1.0.8

2 release files

This release

1.0.7 This release

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