Visualization plugin for QPhase: Phase Portraits and PSD Analysis
Project description
qphase-viz
Plotting Utilities for QPhase
qphase-viz provides a set of plotting tools for visualizing data from quantum phase-space simulations. It is designed to work with qphase but can also be used independently to generate figures.
Features
- Phase Portraits:
- Re-Im Plane: Visualize distributions in complex phase space.
- Abs-Abs Plane: Analyze amplitude correlations.
- Marginal Distributions: Project dynamics onto axes.
- Spectral Analysis:
- Power Spectral Density (PSD): Compute spectra with windowing.
- Log/Linear Scaling: Flexible axis options.
- Time Series:
- Trajectory Evolution: Plot stochastic paths and averages.
- Confidence Intervals: Visualize variance/std-dev.
Installation
pip install qphase-viz
Usage
As a QPhase Plugin
Add a visualization job to your qphase configuration:
jobs:
- name: "plot_phase"
type: "viz"
dependencies: ["my_simulation"]
config:
plots:
- kind: "phase_plane"
mode: 0
style: "density"
- kind: "spectrum"
source: "output.npy"
Standalone Usage
from qphase_viz.engine import VizEngine
from qphase_viz.config import PhasePlaneConfig
# Configure and run
config = PhasePlaneConfig(mode=0)
engine = VizEngine()
engine.plot(data, config)
License
MIT License
Project details
Release history Release notifications | RSS feed
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 qphase_viz-1.0.0.tar.gz.
File metadata
- Download URL: qphase_viz-1.0.0.tar.gz
- Upload date:
- Size: 10.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
95e79578c3268547b4550814565207faa5caab04cc2c6009bf05617395169e35
|
|
| MD5 |
5c16f711f5ba06a45c0f1ac08c394057
|
|
| BLAKE2b-256 |
08dc5b24b120b57e4f4e5eff7e2b3d22662479af321ab911bf33b61065307dfa
|
File details
Details for the file qphase_viz-1.0.0-py3-none-any.whl.
File metadata
- Download URL: qphase_viz-1.0.0-py3-none-any.whl
- Upload date:
- Size: 13.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e8b9d7d86b937c8be00b762fca2ee7f5f57d33e8043c6a01d3e13bc58b698b63
|
|
| MD5 |
703b49f4da4b510f00959304b79693de
|
|
| BLAKE2b-256 |
18dd7f1ecc5a91d8baedf3fed2e7cbd5e5f6a6a4198126ea285e706673277c05
|