Skip to content

General evolve super-operator construction - #2960

Merged
1tnguyen merged 20 commits into
NVIDIA:mainfrom
1tnguyen:tnguyen/general-rhs-construct
Jun 24, 2025
Merged

1tnguyen merged 20 commits into
NVIDIA:mainfrom
1tnguyen:tnguyen/general-rhs-construct

Conversation

@1tnguyen

@1tnguyen 1tnguyen commented May 27, 2025 •

Copy link
Copy Markdown
Collaborator

Description

  • Add a super_op class (C++ and Python bindings), which can represent arbitrary state evolution differential equations.

  • Add an overload for evolve taking super_op instead of (Hamiltonian + collapse operators)

  • Add unit tests for C++ and Python

1tnguyen added 3 commits May 26, 2025 04:42
Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>

Hook up superop

Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>

More tests

Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>

More tests

Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>

Refactor

Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>

Add member functions

Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>
Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>
Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>
github-actions Bot pushed a commit that referenced this pull request May 27, 2025
@github-actions

Copy link
Copy Markdown

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

1tnguyen and others added 9 commits May 28, 2025 02:06
Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>
Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>
Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>
Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>
Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>
Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>
@1tnguyen 1tnguyen changed the title [WIP] General evolve super-operator construction General evolve super-operator construction Jun 11, 2025
Comment thread runtime/cudaq/operators.h Resolved

@sacpis sacpis left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with few comments. Thanks @1tnguyen.

@sacpis

sacpis commented Jun 11, 2025

Copy link
Copy Markdown
Collaborator

Seems like we will also need to fix documentation.

1tnguyen and others added 3 commits June 16, 2025 13:20
@1tnguyen

Copy link
Copy Markdown
Collaborator Author

Seems like we will also need to fix documentation.

Yea, I also added user documentation in b9f4a79.

I also added the C++ dynamics snippets to CI: this will make sure that we can compile and run those snippets in the file.

1tnguyen and others added 2 commits June 17, 2025 06:47
Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>
github-actions Bot pushed a commit that referenced this pull request Jun 17, 2025
@github-actions

Copy link
Copy Markdown

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>
Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>
github-actions Bot pushed a commit that referenced this pull request Jun 24, 2025
@github-actions

Copy link
Copy Markdown

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

@1tnguyen 1tnguyen closed this Jun 24, 2025
github-actions Bot pushed a commit that referenced this pull request Jun 24, 2025
@bettinaheim bettinaheim added the enhancement New feature or request label Jul 22, 2025
@bettinaheim bettinaheim added this to the release 0.12.0 milestone Jul 22, 2025
atgeller pushed a commit to atgeller/cuda-quantum that referenced this pull request Jul 31, 2025
* Work on generic superoperator

Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>

Hook up superop

Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>

More tests

Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>

More tests

Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>

Refactor

Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>

Add member functions

Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>

* Add bindings

Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>

* Hook superop type to Python evolve API

Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>

* Add docstring + move impl to cpp file

Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>

* Add all overloads for superop inputs

Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>

* Code format

Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>

* Add ctest

Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>

* Add Python tests

Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>

* Address code review: code refactor + fix grammar errors in code comments

Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>

* Add docs + hook C++ dynamics snippets to CI

Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>

* Fix spelling

Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>

* Fix merge conflict resolution

Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>

---------

Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants