The Schrieffer-Wolff transformation (SWT) is a foundational perturbative method for deriving effective Hamiltonians in quantum systems by systematically eliminating couplings between pairs of energy distant subspaces. Despite recent advancements, the implementation of SWTs for sufficiently complex systems remains computationally challenging and often requires extensive calculations that are prone to errors. In this work, we introduce an analytical software tool, SymPT (Symbolic Perturbation Theory), designed to automate the SWT and its extensions. Building on a universal framework developed in recent research, SymPT provides a systematic and generalizable solution for deriving the generator of the transformation, enabling accurate computation of effective Hamiltonians for arbitrary perturbative systems. The tool supports both time-independent and time-periodic Hamiltonians, extending beyond standard SWT to incorporate arbitrary coupling elimination, block-diagonalization and full-diagonalization routines, thus enabling precise handling of systems with intricate energy structures.
Combining non-Hermiticity and interactions yields unique effects in open quantum many-body systems. Here, we develop the generalized Schrieffer-Wolff transformation, discuss its symmetry properties, and derive the effective Hamiltonian suitable for various quasidegenerate non-Hermitian systems. We apply our results to an exemplary
PT-symmetric circuit QED composed of two non-Hermitian qubits embedded in a lossless resonator. We consider a resonant quantum circuit as $|{\ensuremath{\omega}}_{r}\ensuremath{-}\mathrm{\ensuremath{\Omega}}|\ensuremath{\ll}{\ensuremath{\omega}}_{r}$, where $\mathrm{\ensuremath{\Omega}}$ and ${\ensuremath{\omega}}_{r}$ are qubits and resonator frequencies, respectively, providing well-defined groups of quasidegenerate resonant states. For such a system, using direct numerical diagonalization we obtain the dependence of the low-lying eigenspectrum on the interaction strength between a single qubit and the resonator
g and the gain (loss) parameter $\ensuremath{\gamma}$, and compare that with the eigenvalues obtained analytically using the effective Hamiltonian of resonant states. We identify
PT-symmetry broken and unbroken phases, trace the formation of exceptional points of the second and the third order, and provide a complete phase diagram $g\ensuremath{-}\ensuremath{\gamma}$ of low-lying resonant states. We relate the formation of exceptional points to the additional
P-pseudo-Hermitian symmetry of the system and show that non-Hermiticity mixes the ``dark'' and the ``bright'' states, which has a direct experimental consequence.
In this work, we present a new diagrammatic method for computing the effective Hamiltonian of driven nonlinear oscillators. At the heart of our method is a self-consistent perturbation expansion developed in phase space, which establishes a direct correspondence between the diagram and algebra. Each diagram corresponds to a Hamiltonian term, the prefactor of which, like those in Feynman diagrams, involves a simple counting of topologically equivalent diagrams. Leveraging the algorithmic simplicity of our diagrammatic method, we provide a readily available computer program that generates the effective Hamiltonian to arbitrary order. We show the consistency of our schemes with existing perturbation methods such as the Schrieffer-Wolff method. Furthermore, we recover the classical harmonic balance scheme from our result in the limit of
ℏ→0. Our method contributes to the understanding of dynamic control within quantum systems and achieves precision essential for advancing future quantum information processors. To demonstrate its value and versatility, we analyze five examples from the field of superconducting circuits. These include an experimental proposal for the Hamiltonian stabilization of a three-legged Schrödinger cat, modeling of energy renormalization phenomena in superconducting circuits experiments, a comprehensive characterization of multiphoton resonances in a driven transmon, a proposal for an inductively shunted transmon circuit, and a characterization of classical ultra-subharmonic bifurcation in driven oscillators. Lastly, we benchmark the performance of our method by comparing it with experimental data and exact Floquet numerical diagonalization.