Skip to main content

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

Metadata

Release files for qphase 1.0.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 qphase 1.0.0
File Size Uploaded Provenance Actions
qphase-1.0.0.tar.gz 62.6 kB Without provenance Details for qphase-1.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 140.0 kB

Release files / qphase-1.0.0.tar.gz

Download URL qphase-1.0.0.tar.gz
Size 62.6 kB
Tags Source
SHA-256 checksum
How to use checksums
25a19289b0a1ef35e5322719c0b90364db8627973f5dc58716b1acb50ee136a5
BLAKE2b-256 checksum
How to use checksums
3d1f7de976a318b8e6a0fe6511fcd1cfacb5b660bcde817afe55a4dd7dfbd108
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / qphase-1.0.0-py3-none-any.whl

Download URL qphase-1.0.0-py3-none-any.whl
Size 77.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8bceefab4cf2dd2a375a3acf13fc30ba6307a7a8de1c14dd448b957cb52d5287
BLAKE2b-256 checksum
How to use checksums
22e54d23f82785e16bc9649442d3f89ca104a54c24a516ddd673930f55b5a4f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Security for qphase 1.0.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

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