Skip to main content

End-to-end quantum simulation toolkit from qubit physics to hardware design

Project description

QForge: Quantum Simulation Toolkit

License Python Version PyPI version Build Status

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
  • Comprehensive Analysis: Energy spectra, coherence times (T1, T2), parameter sweeps
  • Realistic Noise Modeling: Accurate coherence time estimates with multiple decoherence channels
  • Side-by-Side Comparisons: Compare different qubit architectures across multiple metrics
  • Interactive CLI: Beginner-friendly wizards with rich terminal output
  • Python API: Full programmatic access to qubit modeling functionality
  • Minimal Typing: Concise, intuitive commands for qubit operations
  • Export Functionality: Export to QuTiP, Qiskit formats

๐Ÿšง Coming Soon

  • Gate Physics: Quantum gate dynamics simulation with QuTiP
  • 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 for Beginners)

qforge --interactive

Create a Transmon Qubit

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

Compare Qubit Architectures

qforge compare qubits --qubits transmon,fluxonium --metrics coherence,frequency

Analyze Qubit Properties

qforge qubit analyze my_transmon --coherence --plot

๐Ÿ“Š Example Output

โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚           Transmon vs Fluxonium Comparison                  โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ Metric          โ”‚ Transmon      โ”‚ Fluxonium                โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ T1 (ฮผs)         โ”‚ 50.2          โ”‚ 1200.5 โœ“                 โ”‚
โ”‚ T2 (ฮผs)         โ”‚ 35.8          โ”‚ 890.3 โœ“                  โ”‚
โ”‚ Frequency (GHz) โ”‚ 4.85          โ”‚ 0.75                     โ”‚
โ”‚ Anharmonicity   โ”‚ -220 MHz      โ”‚ -1.2 GHz โœ“               โ”‚
โ”‚ Gate Fidelity   โ”‚ 0.9989        โ”‚ 0.9995 โœ“                 โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

๐Ÿ—๏ธ 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

๐Ÿ“š Documentation

๐ŸŽ“ Examples

Check out the examples/ directory for complete workflows:

  • transmon_workflow.py - Complete transmon simulation and analysis
  • transmon_vs_fluxonium.py - Detailed qubit comparison

๐Ÿ”Œ Future Development

Planned features include:

  • Gate Simulation: Custom gates and pulses with QuTiP
  • Circuit Building: Multi-qubit circuits with Qiskit integration
  • Noise Models: Advanced noise modeling for realistic simulations
  • Hardware Design: Chip layout with Qiskit Metal
  • Plugin System: Extensible architecture for custom components

Contributions welcome! See the Contributing section.

๐Ÿค Contributing

Contributions are welcome! Please see our Contributing Guide for guidelines on how to contribute to QForge.

๐Ÿ“„ License

Apache License 2.0 - see LICENSE for details.

๐Ÿ™ Acknowledgments

Built on the excellent work of:

  • The scqubits team
  • The QuTiP community
  • The Qiskit team at IBM
  • The broader quantum computing community

๐Ÿ“ง Contact

For questions and support, please open an issue on GitHub.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qforge-0.1.0.tar.gz (39.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qforge-0.1.0-py3-none-any.whl (28.7 kB view details)

Uploaded Python 3

File details

Details for the file qforge-0.1.0.tar.gz.

File metadata

  • Download URL: qforge-0.1.0.tar.gz
  • Upload date:
  • Size: 39.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for qforge-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2aa114c05505eb6a99653d9478a02e08af3fb80f6ce3d712ef7682c2049a0a59
MD5 9dff7dac0ac30fd6f175da7143c3ff07
BLAKE2b-256 a61563196348a8aab87fabe96dbe774aeab8d5d14fec6e188cfdcfd3f871a86b

See more details on using hashes here.

Provenance

The following attestation bundles were made for qforge-0.1.0.tar.gz:

Publisher: python-publish.yml on Ingenio17/qforge

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file qforge-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: qforge-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 28.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for qforge-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2cab6221cc99cb14276d16772e218bcb2a38cb4001932117460858b14c80284f
MD5 57b8c978903d4d8fa6d6c713f8223722
BLAKE2b-256 5e51247dc8e5a03a75fa165ecb759a85c9ca7cde4eed75119f97aed9ecbd7dd6

See more details on using hashes here.

Provenance

The following attestation bundles were made for qforge-0.1.0-py3-none-any.whl:

Publisher: python-publish.yml on Ingenio17/qforge

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page