Skip to content

Defining Pauli Matrices #156

@orodrigoaraizabravo

Description

@orodrigoaraizabravo

Hello, I want to get the cumulant expansion equations with real coefficients so I can evolve them using an ordinary differential equation solver for real-valued ODEs. This is doable when no jump operators if the cumulants can be recast in terms of Pauli matrices. Can you provide me with an example of how to code the Pauli-X matrix? Something like this: PauliX(n) is the Pauli-x matrix acting on site n where Pauli_x is the matrix |g><e|+|e><g|.

Thanks!

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