Skip to content

Add Support for Rectangular SuperOperators #594

@Gavin-Rockwood

Description

@Gavin-Rockwood

Problem Description

In Qutip, I can create an $m \times n$ operator (such as a projection operator to project an $m$-dimensional state onto an $n$-dimensional subspace.

In order to do this currently, I need to extract the operator data, create a rectangular matrix, perform the necessary projections and then convert the final states / operators back into QuantumObjects.

Proposed Solution

The solution would be to allow the dim property to be either a 1D object for square operators or a pair of 1D objects for the left and right dimensions.

Alternate Solutions

No response

Additional Context

If sesolve/mesolve are extended to be able to evolve operators as a way to parallel evolve individual states, adding support for rectangular operators would allow for simultaneously evolving a handful of states as a single inplace ODE.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions