Releases: qcode-uni-a/sympt
Minor bug fixes
- Fix rotate
- Fix README example
Minor Optimization Tweaks
This update introduces a few under-the-hood tweaks to further optimize computations. By leveraging the commutativity of operators where applicable, calculations are now faster and more efficient.
New year release
Release v1.1.0 - Optimizations, API Refinements, and Enhanced Output
🎉 New Year, New SymPT! We're excited to kick off 2025 with the release of SymPT v1.1.0, featuring significant updates to improve performance, usability, and functionality. Here's what's new:
🚀 Performance Optimization
- Faster Calculations: Inspired by this paper, we've streamlined the calculation process by reducing the number of commutators required for each perturbation order. This optimization ensures a more efficient and scalable workflow for your transformations.
🔧 API Updates
- Method Consolidation: The "LA" (Least Action) method has been integrated with the "ACE" (Arbitrary Coupling Elimination) method. Now, ACE automatically incorporates least-action transformations, simplifying the method selection process while providing advanced functionality for all use cases.
- This update ensures that least-action principles are seamlessly applied across all transformations supported by the ACE method.
🎨 Enhanced Output
- Simplified Effective Hamiltonians: The output of effective Hamiltonians has been improved to provide a cleaner, more intuitive form, making results easier to interpret and utilize in subsequent analysis.
📚 Documentation Updates
- The documentation and examples have been updated to reflect the API changes and enhancements in this version.
As always, we’d love to hear your feedback! If you have any questions, comments, or suggestions, don’t hesitate to reach out or submit an issue on the GitHub repository.
Thank you for your continued support, and we look forward to seeing how you leverage SymPT in your projects.
— The SymPT Team
minor name changes
changed name of get_structure() to get_block_mask()
Publication
Release Notes: SymPT v1.0.0 🎉
We're thrilled to announce the first official release of SymPT: Symbolic Perturbation Theory! This Python package is designed to streamline symbolic perturbative transformations in quantum mechanics, offering powerful tools for researchers and developers working on effective Hamiltonians and related problems.
🚀 Key Features
-
Comprehensive Transformation Methods:
- Schrieffer-Wolff Transformation (SWT) for block-diagonalization.
- Full-Diagonalization (FD) for eliminating all off-diagonal elements.
- Arbitrary Coupling Elimination (ACE) for targeted transformations.
- Least-Action Multi-Block Transformations for advanced multi-block diagonalizations.
-
Symbolic Computation: Built on
sympy
, providing exact symbolic results for quantum systems. -
Customizable & Intuitive:
- Easily define Hamiltonians, operators, and transformations with symbolic expressions.
- Flexible output options: matrix, operator, or dictionary forms.
- Easily integratable with
sympy
and other python libraries.
-
Time-Dependent & Independent Support: Apply transformations to both static and dynamic quantum systems.
📚 Documentation
Visit the README for a detailed guide, including:
- Installation instructions.
- Example workflows (e.g., performing SWT or ACE transformations).
- Core classes and their functionalities.
- Algorithms and use cases.
💻 Installation
Get started quickly:
git clone https://github.com/qcode-uni-a/sympt.git
cd SymPT
pip install .
Dependencies:
Python 3.8+
sympy
,numpy
(required)matplotlib
(optional, for visualizations)
🌟 What’s Included
- Core Modules: Classes like
RDSymbol
,RDBasis
, andEffectiveFrame
for constructing and solving quantum transformations. - Algorithmic Suite: A versatile set of routines for symbolic perturbative calculations.
- Example Code: Illustrative scripts demonstrating SWT, ACE, and more.
📬 Feedback & Contributions
We’re eager to hear from you! Whether it’s a bug report, feature request, or code contribution, your input is invaluable:
- Fork the repo.
- Create a feature branch.
- Submit a pull request.
🔗 License
SymPT is open-source and released under the MIT License. See the LICENSE
file for details.
Thank you for trying out SymPT! We look forward to your feedback and contributions as we continue to improve and expand this toolbox for the quantum research community.