Skip to content

[testing] Fix Infleqtion tests for state prep#4323

Merged
khalatepradnya merged 5 commits intoNVIDIA:mainfrom
khalatepradnya:fix-infleqtion-tests
Apr 28, 2026
Merged

[testing] Fix Infleqtion tests for state prep#4323
khalatepradnya merged 5 commits intoNVIDIA:mainfrom
khalatepradnya:fix-infleqtion-tests

Conversation

@khalatepradnya
Copy link
Copy Markdown
Collaborator

python3 -m pytest -v python/tests/backends/test_Infleqtion.py
=================================================================== test session starts ===================================================================
platform linux -- Python 3.12.3, pytest-8.3.0, pluggy-1.6.0 -- /usr/bin/python3
cachedir: .pytest_cache
rootdir: /workspaces/cuda-quantum
configfile: pyproject.toml
plugins: anyio-4.13.0, xdist-3.8.0
collected 9 items                                                                                                                                         

python/tests/backends/test_Infleqtion.py::test_simple_kernel PASSED                                                                                 [ 11%]
python/tests/backends/test_Infleqtion.py::test_all_gates PASSED                                                                                     [ 22%]
python/tests/backends/test_Infleqtion.py::test_multiple_qvector PASSED                                                                              [ 33%]
python/tests/backends/test_Infleqtion.py::test_multiple_measure PASSED                                                                              [ 44%]
python/tests/backends/test_Infleqtion.py::test_observe PASSED                                                                                       [ 55%]
python/tests/backends/test_Infleqtion.py::test_state_synthesis PASSED                                                                               [ 66%]
python/tests/backends/test_Infleqtion.py::test_state_preparation PASSED                                                                             [ 77%]
python/tests/backends/test_Infleqtion.py::test_state_preparation_builder PASSED                                                                     [ 88%]
python/tests/backends/test_Infleqtion.py::test_exp_pauli PASSED                                                                                     [100%]

=================================================================== 9 passed in 18.45s ====================================================================

Signed-off-by: Pradnya Khalate <pkhalate@nvidia.com>
@khalatepradnya khalatepradnya requested a review from 1tnguyen April 14, 2026 17:40
@khalatepradnya khalatepradnya added testing Relates to testing no release notes Don't list this PR in the release notes labels Apr 14, 2026
Comment thread python/tests/backends/test_Infleqtion.py Outdated
github-actions Bot pushed a commit that referenced this pull request Apr 14, 2026
@github-actions
Copy link
Copy Markdown

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

github-actions Bot pushed a commit that referenced this pull request Apr 15, 2026
@github-actions
Copy link
Copy Markdown

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

github-actions Bot pushed a commit that referenced this pull request Apr 17, 2026
@github-actions
Copy link
Copy Markdown

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

Copy link
Copy Markdown
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.

Overall LGTM. Thanks @khalatepradnya. Left a few comments.

Comment thread python/tests/backends/test_Infleqtion.py
Comment thread python/tests/backends/test_Infleqtion.py
Copy link
Copy Markdown
Collaborator

@1tnguyen 1tnguyen left a comment

Choose a reason for hiding this comment

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

👍

@khalatepradnya khalatepradnya added this pull request to the merge queue Apr 28, 2026
Merged via the queue into NVIDIA:main with commit 4bfcc64 Apr 28, 2026
229 checks passed
@khalatepradnya khalatepradnya deleted the fix-infleqtion-tests branch April 28, 2026 21:48
github-actions Bot pushed a commit that referenced this pull request Apr 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no release notes Don't list this PR in the release notes testing Relates to testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants