Skip to main content

Modular Quantum Phase-Space Simulation Framework (Core & CLI)

Project description

qphase — A Modular Toolkit for Phase-Space Simulation in Quantum Optics

qphase is a small command-line tool for configuring and running phase-space simulations in quantum optics. It serves as the main entry point for the project, handling configuration loading and job execution.

Features

  • CLI Interface (qps): A simple command-line interface to run simulations and analysis tasks.
  • Plugin Support: Loads external packages (like qphase-sde and qphase-viz) to extend functionality.
  • Session Management: Basic job tracking with support for resuming interrupted runs and dry-run validation.
  • Configuration: Uses YAML/JSON files to define simulation parameters and workflows.
  • Parameter Scanning: Supports simple parameter sweeps (Cartesian and Zipped).

Installation

pip install qphase
# Optional: Install standard backends (Numba, PyTorch)
pip install qphase[standard]

Quick Start

  1. Initialize a project:

    qps init
    
  2. Run a simulation:

    qps run my_simulation
    
  3. List available jobs:

    qps run --list
    

Project Structure

This repository contains the following packages:

  • qphase: The main CLI and scheduler.
  • qphase-sde: The numerical solver for SDEs.
  • qphase-viz: Plotting utilities for simulation data.

License

MIT License

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

qphase-1.0.0.tar.gz (62.6 kB view details)

Uploaded Source

Built Distribution

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

qphase-1.0.0-py3-none-any.whl (77.4 kB view details)

Uploaded Python 3

File details

Details for the file qphase-1.0.0.tar.gz.

File metadata

  • Download URL: qphase-1.0.0.tar.gz
  • Upload date:
  • Size: 62.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for qphase-1.0.0.tar.gz
Algorithm Hash digest
SHA256 25a19289b0a1ef35e5322719c0b90364db8627973f5dc58716b1acb50ee136a5
MD5 d8a5c208133eb17145dcf941e8b79cc0
BLAKE2b-256 3d1f7de976a318b8e6a0fe6511fcd1cfacb5b660bcde817afe55a4dd7dfbd108

See more details on using hashes here.

File details

Details for the file qphase-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: qphase-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 77.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for qphase-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8bceefab4cf2dd2a375a3acf13fc30ba6307a7a8de1c14dd448b957cb52d5287
MD5 e08177cd4ac2b540e00551768ea1c505
BLAKE2b-256 22e54d23f82785e16bc9649442d3f89ca104a54c24a516ddd673930f55b5a4f1

See more details on using hashes here.

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