Skip to content

Adding Support for Operator Functions #64

@Gavin-Rockwood

Description

@Gavin-Rockwood

I am wondering if there is any plans add support for functions of operators, particularly exponential and trig. I tried doing this myself but I don't have a good enough understanding of how Symbolics.jl works! The reason I ask this is because I work a lot with superconducting circuits and am looking for a way to represent them abstractly in symbolic Hamiltonians that can be easily manipulated before I turn them into truncated matrices for numerical calculations. The kind of work flow I imagine is something starting with a transmon+resonator Hamiltonian

$H =4E_C \hat{n}^2-E_J\cos\hat\phi + \omega \hat{a}^\dagger\hat{a}+g\hat{n}(\hat{a}^\dagger+\hat{a})$

and then being able to do stuff like rewriting $\hat{n}$, $\hat\phi$ in terms of bosonic operators $\hat{b}, \hat{b}^\dagger$, taylor expanding $\cos\phi$ and even performing conjugations $e^{-\epsilon \hat{O}}He^{\epsilon \hat{O}}$ which can be expanded to some order in $\epsilon$ using Baker-Campbell-Hausdorff (such as doing a Schrifer-Wolff transformation).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions