Skip to main content

pyPalace

Documentation PyPI version

pyPalace is an open-source Python toolkit built around AWS Palace for the simulation and analysis of superconducting quantum devices. It enables users to build Palace configuration files, run simulations locally or on HPC systems, visualize computed electromagnetic fields, and extract simulation results through streamlined Python workflows.

For superconducting devices, pyPalace includes quantum analysis tools based on methods such as Lumped Oscillator Modeling (LOM) and Energy Participation Ratio (EPR), along with related techniques for extracting important physical parameters of superconducting circuits and qubits.

For questions, comments, or collaboration, contact:
firasabouzahr2030@u.northwestern.edu


Installation

Note: pyPalace requires AWS Palace to be installed separately.

For users

pip install pypalace

For developers

Clone the repository:

git clone https://github.com/FirasAbouzahr/pyPalace.git
cd pyPalace
pip install -e .

Examples

Examples can be found in the Examples directory.

  • Example 00 (simulating a Quantum Metal design with pyPalace)
  • Example 01 (eigenmode simulations & EPR analysis of a qubit-cavity system)
  • Example 02 (electrostatic simulations & LOM analysis of Transmon qubits)
  • Example 03 (driven simulation of a resonator & DCM fitting to S21)

Developer Notes

Development wishlist:

  • Add built-in meshing capability to pyPalace (e.g., with Gmsh or other open-source mesh generation tools).
  • Expanded testing and validation of less commonly used Palace features and boundary conditions.
  • Expanded quantum analysis utilities.
  • Additional advanced simulation and workflow examples for more complex device geometries and solver configurations.
  • Improvements to usability, documentation clarity, workflow accessibility, and overall user experience.

Contributors

Name Institution Contribution
Sara Sussman Fermilab Superconducting qubit expertise

License

This project is licensed under the MIT License – see the LICENSE file for details.

Metadata

Release files for pypalace 0.1.3

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

Source distribution (sdist)

Source distribution for pypalace 0.1.3
File Size Uploaded
pypalace-0.1.3.tar.gz 29.0 kB Details

Built distribution (wheel)

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

Total release size: 58.6 kB

Release files / pypalace-0.1.3.tar.gz

Download URL pypalace-0.1.3.tar.gz
Size 29.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a9d6d762ed403ef8171ecd8ccd54ef2a028c34d3df76960e02ae59ece1f12b24
BLAKE2b-256 checksum
How to use checksums
37a890a92836b903dc1d1dae1b8e261433991919be024bdc0f78602131a27c4f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.0

Release files / pypalace-0.1.3-py3-none-any.whl

Download URL pypalace-0.1.3-py3-none-any.whl
Size 29.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c59acc0cc353c64149b81bac4ac06a3595e42a9275e4ed9b38533190a2d62d31
BLAKE2b-256 checksum
How to use checksums
8f73700766d36d5b6e4ca6bfdcb54434f9152a1d7233c10f9b7c3b98afbe6811
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.0

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

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