Skip to main content

fockit - Quantum many-body operators and solvers

Copyright (C) 2026 H. L. Nourse

What is fockit?

Build many-body models, write your own operator algebras, and test algorithms on them. Quick and simple.

Comes with fermions, bosons and Pauli operators, and you can add your own. Simple exact solvers check your ideas on small systems.

Where to start?

The tests are examples:

  • tests/test_integration.py for the operator algebra.
  • tests/solve/ for matrices and solvers.
  • tests/solve/test_symmetries.py for symmetry sectors (momentum, reflection, spin flip, spin inversion, particle-hole, point groups).

Dependencies

Installation

Clone source

git clone https://github.com/thenoursehorse/fockit
cd fockit

Install with uv

uv sync --extra solve

Add --extra sympy for symbolic coefficients.

Tests

uv sync --group test --extra sympy --extra solve
uv run pytest

Development

uv sync --group all --extra sympy --extra solve

AI use

This code was written with AI coding assistants (Claude Code and Codex). All of it is reviewed and tested.

Metadata

Release files for fockit 0.0.2

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

Source distribution (sdist)

Source distribution for fockit 0.0.2
File Size Uploaded
fockit-0.0.2.tar.gz 45.7 kB Details

Built distribution (wheel)

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

Total release size: 82.7 kB

Release files / fockit-0.0.2.tar.gz

Download URL fockit-0.0.2.tar.gz
Size 45.7 kB
Tags Source
SHA-256 checksum
How to use checksums
223fbd8baba2276de070c5cbe28570baccb1ded1dcb7706cfe69ab89c018716d
BLAKE2b-256 checksum
How to use checksums
002cd0d47e0d2dc8bce6e6dfe97ae9f6a68eb65b84cd89f6bbabfcefe6d72160
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 Oct 12, 2026.

Transparency log

Release files / fockit-0.0.2-py3-none-any.whl

Download URL fockit-0.0.2-py3-none-any.whl
Size 37.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
74c36c1a8376bf26bd1370eb093d90f002356debcf51be02a50aaa681fb206bb
BLAKE2b-256 checksum
How to use checksums
98adbf2044c3cb6d3b781891ca143cb144ca5051676d25fe0dc43afe62f6839d
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 Oct 12, 2026.

Transparency log

Release history Release notifications | RSS feed

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

This release

0.0.2 This release

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