Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Tensornet] Support trajectory simulation for unitary mixture noise channels #2520

Merged
merged 25 commits into from
Feb 6, 2025

Conversation

1tnguyen
Copy link
Collaborator

@1tnguyen 1tnguyen commented Jan 20, 2025

Description

(1) Add support for cutensornetStateApplyUnitaryChannel

  • Perform trajectory-based simulation if there are noise ops applied to the state.

  • Throw error if seeing non-unitary noise ops.

  • MPS has a custom implementation (override) for trajectory sample/observe as it needs to recompute the state for each trajectory.

  • Enable noise tests for tensornet backends.

(2) Some minor updates to tensornet backends

  • Replace a couple of deprecating enums.

  • Make the number of hyper samples a configuration param and add the corresponding doc.

Copy link

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

github-actions bot pushed a commit that referenced this pull request Jan 20, 2025
Signed-off-by: Thien Nguyen <[email protected]>
Signed-off-by: Thien Nguyen <[email protected]>
Signed-off-by: Thien Nguyen <[email protected]>
Copy link

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

github-actions bot pushed a commit that referenced this pull request Jan 22, 2025
Copy link

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

github-actions bot pushed a commit that referenced this pull request Jan 22, 2025
Copy link

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

github-actions bot pushed a commit that referenced this pull request Jan 23, 2025
Signed-off-by: Thien Nguyen <[email protected]>
Copy link

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

github-actions bot pushed a commit that referenced this pull request Jan 24, 2025
github-actions bot pushed a commit that referenced this pull request Jan 29, 2025
Copy link

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

@sacpis
Copy link
Collaborator

sacpis commented Jan 30, 2025

Once we modularize the long functions, can we please throw in some unittests? I will go through the PR again once we have the changes.

@1tnguyen 1tnguyen changed the title [WIP][Tensornet] Support trajectory simulation for unitary mixture noise channels [Tensornet] Support trajectory simulation for unitary mixture noise channels Jan 30, 2025
github-actions bot pushed a commit that referenced this pull request Jan 30, 2025
Copy link

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

Copy link

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

github-actions bot pushed a commit that referenced this pull request Jan 30, 2025
@1tnguyen
Copy link
Collaborator Author

Once we modularize the long functions, can we please throw in some unittests? I will go through the PR again once we have the changes.

Thanks. I added a new unit test for the matrix representation bug that is not detectable by sample/observe tests. The existing tests in noise_tester.cpp (now enabled for cutensornet backends) would cover noisy simulation functionality.

github-actions bot pushed a commit that referenced this pull request Jan 31, 2025
Copy link

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

Copy link
Collaborator

@sacpis sacpis left a comment

Choose a reason for hiding this comment

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

Looks good with few changes. :)

Copy link

github-actions bot commented Feb 3, 2025

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

github-actions bot pushed a commit that referenced this pull request Feb 3, 2025
Copy link
Collaborator

@sacpis sacpis left a comment

Choose a reason for hiding this comment

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

LGTM. Just 1 question. Thanks @1tnguyen.

Copy link

github-actions bot commented Feb 6, 2025

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

github-actions bot pushed a commit that referenced this pull request Feb 6, 2025
@1tnguyen 1tnguyen merged commit 8e54384 into NVIDIA:main Feb 6, 2025
213 checks passed
github-actions bot pushed a commit that referenced this pull request Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants