This release is a pre-release and may not be stable for production use.
FatQat
FatQat is a quantum-computing toolkit built around one authoring interface:
Program. Write the computation once, then choose how closely to model the
machine beneath it.
Development status: FatQat is under active development, and its interfaces may change between releases. Pin an exact version when reproducibility matters.
| Execution level | Start here when you want to… |
|---|---|
| General simulation | study logical states, samples, observables, noise, or parameter sweeps |
| Hardware-profile simulation | check native operations, placement, connectivity, capacity, or atom occupancy |
| Hamiltonian emulation | follow pulses, coupling, leakage, timing, and continuous-time noise |
The execution targets accept the same Program type and return results through
the same Job/Result workflow. Each target still validates what it can
physically or mathematically realize.
Installation
FatQat requires Python 3.12 or newer. Install FatQat:
python -m pip install fatqat
To work on the development version, install from a source checkout:
git clone https://github.com/spaceqat/fatqat.git
cd fatqat
python -m pip install .
Run a first Program
This Bell-state example contains the complete circuit-level workflow:
import fatqat as fq
import fatqat.operations as ops
program = fq.Program(2, 2)
program.add(ops.H, 0)
program.add(ops.CX, (0, 1))
program.measure_all()
result = fq.simulator.Simulator().run(
program,
shots=1000,
simulation_config={"seed": 7},
).result()
print(result.get_counts())
Only 00 and 11 appear: the measured bits agree because the two qubits are
entangled. The
quickstart
draws this Program, runs it, and turns the counts into a plot.
Grow the same authoring model
Program records registers and ordered instructions. It supports gates,
measurement, reset, classical conditions, reusable parameters, logical qudits,
mixed local dimensions, circuit drawing, and direct physical controls. These
features stay together instead of splitting into separate circuit and pulse
languages.
The Program guide builds those ideas step by step. Choose how much physics to model then runs one unchanged rotation through all three execution levels.
From there:
- Simulate a quantum program for states, sampling, and parameter sweeps.
- Ask questions of a run for counts, states, maps, and observables.
- Compare ideal and noisy execution.
- Measure performance and scaling.
- Test a hardware profile.
- Follow a Program into physical dynamics, then continue with the transmon or neutral-atom workflow.
- Connect OpenQASM and Qiskit.
The tutorial gallery contains longer algorithm and physics case studies. The API reference contains the exact signatures, supported operations, shapes, units, and validation contracts.
Release notes are in the changelog.
Development
For basic local development, install the source tree with the core test dependencies:
python -m pip install --upgrade pip
python -m pip install --editable . --group dev
python -m pytest
Before preparing a contribution, install the full test and lint environment:
python -m pip install --editable . --group test-full --group lint
test-full includes the dev dependencies and the optional Qiskit integration
dependencies. lint adds Black and Pylint.
Before submitting a change, read Contributing to FatQat, including the policy for AI-assisted work. AI tools are permitted, but every contributor must understand, own, and lead the work they submit and the project conversations around it.
For documentation changes, follow the pinned setup and build workflow.
The main repository directories are:
src/fatqat/— package source.tests/— behavior-focused test suite.docs/mkdocs/— Material user guide, executable tutorials, and API reference.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fatqat-0.1.0a1.tar.gz.
File metadata
- Download URL: fatqat-0.1.0a1.tar.gz
- Upload date:
- Size: 788.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7278630fd93818bf1ee218b3c8abb180c6f37c0f4812382b75e4003040e8e3c4
|
|
| MD5 |
883513dcdaa4c2ee3a75755a24ed01a9
|
|
| BLAKE2b-256 |
b944d820068421eb3017a15cb8c8d8ae25a43a1e16f3c6f0f78ba6e6333c1ef2
|
Provenance
The following attestation bundles were made for fatqat-0.1.0a1.tar.gz:
Publisher:
build.yaml on spaceqat/fatqat
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fatqat-0.1.0a1.tar.gz -
Subject digest:
7278630fd93818bf1ee218b3c8abb180c6f37c0f4812382b75e4003040e8e3c4 - Sigstore transparency entry: 2808893678
- Sigstore integration time:
-
Permalink:
spaceqat/fatqat@3165707aca59da4a0ea59493bf411cb07b8c7607 -
Branch / Tag:
refs/heads/v0.1.x - Owner: https://github.com/spaceqat
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yaml@3165707aca59da4a0ea59493bf411cb07b8c7607 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file fatqat-0.1.0a1-py3-none-any.whl.
File metadata
- Download URL: fatqat-0.1.0a1-py3-none-any.whl
- Upload date:
- Size: 417.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64dc3c0546728e87e66ed6a50c336cd3e778cd9c77100972d149394325dbdc64
|
|
| MD5 |
0ba805a5524c76feffec6e977ef519a2
|
|
| BLAKE2b-256 |
157a91bbaec12027dbe90c780d27c674a57e29a67516d405a3c8e3bac0b18f8d
|
Provenance
The following attestation bundles were made for fatqat-0.1.0a1-py3-none-any.whl:
Publisher:
build.yaml on spaceqat/fatqat
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fatqat-0.1.0a1-py3-none-any.whl -
Subject digest:
64dc3c0546728e87e66ed6a50c336cd3e778cd9c77100972d149394325dbdc64 - Sigstore transparency entry: 2808893733
- Sigstore integration time:
-
Permalink:
spaceqat/fatqat@3165707aca59da4a0ea59493bf411cb07b8c7607 -
Branch / Tag:
refs/heads/v0.1.x - Owner: https://github.com/spaceqat
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yaml@3165707aca59da4a0ea59493bf411cb07b8c7607 -
Trigger Event:
workflow_dispatch
-
Statement type: