Skip to main content

QForge: Quantum Simulation Toolkit

License Python Version PyPI version

QForge is a comprehensive, terminal-based quantum simulation toolkit that bridges qubit physics to hardware design. Built for everyone from absolute beginners to seasoned quantum computing researchers.

🚀 Features

✅ Fully Implemented

  • Qubit Physics Modeling: Transmon, Fluxonium, Flux, Zero-π with pre-configured parameters
  • Gate Physics Simulation: Time-domain simulation of single-qubit gates (X, Y, Z, H) using QuTiP dynamics.
  • Terminal Plotting: Visualize energy spectra and Rabi oscillations directly in your terminal.
  • Comprehensive Analysis: Energy spectra, coherence times (T1, T2), parameter sweeps.
  • Realistic Noise Modeling: Accurate coherence time estimates and relaxation dynamics.
  • Interactive CLI: Beginner-friendly wizards with auto-completions and rich visualizations.
  • Comparison Engine: Compare different qubit architectures side-by-side.

🚧 Coming Soon

  • Circuit Simulation: Multi-qubit circuit simulation with Qiskit
  • Hardware Design: Chip layout design with Qiskit Metal
  • Plugin Architecture: Extensible system for custom qubits and components

📦 Installation

pip install qforge

Development Installation

git clone https://github.com/Ingenio17/qforge.git
cd qforge
pip install -e ".[dev]"

🎯 Quick Start

Interactive Mode (Recommended)

qforge --interactive

1. Create a Qubit

qforge qubit create transmon --name my_qubit --EJ 15 --EC 0.3

2. Analyze Spectrum

View energy levels directly in your terminal:

qforge qubit analyze --name my_qubit --plot

3. Simulate a Gate

Simulate a $\pi$-pulse (X gate) and view Rabi oscillations:

qforge gate simulate --qubit my_qubit --gate X --duration 40 --save

📚 Documentation

Full documentation is available at qforge.readthedocs.io.

🎓 Examples

Check out the examples/ directory for complete workflows:

  • gate_simulation.py: End-to-end gate dynamics simulation.
  • transmon_workflow.py: Complete transmon simulation and analysis.
  • fluxonium_workflow.py: Complete fluxonium simulation and analysis.
  • comprehensive_comparison.py: Advanced multi-qubit comparison with reports.

🏗️ Architecture

QForge is built on industry-standard quantum libraries:

  • scqubits: Superconducting qubit physics
  • QuTiP: Quantum dynamics and gate simulation
  • Qiskit: Circuit-level quantum computing
  • Qiskit Metal: Quantum hardware chip design

🤝 Contributing

Contributions are welcome! Please see our Contributing Guide.

Acknowledgments

QForge relies on the following open-source projects:

  • scqubits: Setup and simulation of superconducting qubits.
    • Copyright (c) 2019 and later, Jens Koch and Peter Groszkowski. Licensed under BSD 3-Clause.
  • QuTiP: Quantum Toolbox in Python for dynamics.
    • Copyright (c) 2011-2022 QuTiP developers. Licensed under BSD 3-Clause.
  • Qiskit: Quantum SDK for circuit simulation.
    • Copyright IBM Corporation and others. Licensed under Apache 2.0.
  • Qiskit Metal: Hardware design.
    • Copyright Qiskit Metal Development Team. Licensed under Apache 2.0.

Please see NOTICE and ThirdPartyNotices.md for full license details.

📄 License

Apache License 2.0 - see LICENSE for details.

Metadata

Release files for qforge 0.2.0

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

Source distribution (sdist)

Source distribution for qforge 0.2.0
File Size Uploaded
qforge-0.2.0.tar.gz 8.3 MB Details

Built distribution (wheel)

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

Total release size: 8.3 MB

Release files / qforge-0.2.0.tar.gz

Download URL qforge-0.2.0.tar.gz
Size 8.3 MB
Tags Source
SHA-256 checksum
How to use checksums
9dda50a8f284d48835545b4f87d8d2aae56253b20dd8409819cc0aab53764903
BLAKE2b-256 checksum
How to use checksums
74025ab62487a589cc1b206eb2fdf69a57918c11b447ad7098e0d4fc0686c61e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Feb 13, 2026.

Transparency log

Release files / qforge-0.2.0-py3-none-any.whl

Download URL qforge-0.2.0-py3-none-any.whl
Size 54.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a91bcbb4b7550340dc9fa2055807c010c642ca6ce08eb1e377c647980eed0a6c
BLAKE2b-256 checksum
How to use checksums
eeef33a2fac17f71a740e6b49b98ed806a28704802a1698133c29b5a6fb83e2d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Feb 13, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.1

2 release files

0.1.0

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