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

Support measurements of subveqs for braket #2416

Merged
merged 56 commits into from
Nov 27, 2024

Conversation

annagrin
Copy link
Collaborator

@annagrin annagrin commented Nov 25, 2024

Description

Support measurements of subveqs for braket

  • Add support for setting and using output names in braket executor and server helper
  • Add CombineMeasurements pass
    • extend measurements from subveq to the full vector and add output_names attributes
    • combine separate measurements into one
  • Remove passes in translateToOpenQasm pipeline that would be normally specified in target config files.
  • Add tests

annagrin and others added 30 commits November 14, 2024 18:25
Signed-off-by: Anna Gringauze <[email protected]>
Signed-off-by: Anna Gringauze <[email protected]>
Signed-off-by: Anna Gringauze <[email protected]>
Signed-off-by: Anna Gringauze <[email protected]>
Signed-off-by: Anna Gringauze <[email protected]>
Signed-off-by: Anna Gringauze <[email protected]>
* Two more tests working

Signed-off-by: Pradnya Khalate <[email protected]>
* Additional tests

Co-authored-by: Eric Schweitz <[email protected]>

Signed-off-by: Pradnya Khalate <[email protected]>
Signed-off-by: Pradnya Khalate <[email protected]>
* Test for asynchronous sampling API
* Failing test for observe API
* More tests to cover all native gates, custom operations
* One more test - check kernel that takes arguments

Signed-off-by: Pradnya Khalate <[email protected]>
  not supported.
* Simplify test setup since mock server isn't being used.

Signed-off-by: Pradnya Khalate <[email protected]>
Co-authored-by: Bettina Heim <[email protected]>

Signed-off-by: Pradnya Khalate <[email protected]>
Signed-off-by: Anna Gringauze <[email protected]>
Signed-off-by: Anna Gringauze <[email protected]>
* Two more tests working

Signed-off-by: Pradnya Khalate <[email protected]>
* Additional tests

Co-authored-by: Eric Schweitz <[email protected]>

Signed-off-by: Pradnya Khalate <[email protected]>
Signed-off-by: Pradnya Khalate <[email protected]>
* Test for asynchronous sampling API
* Failing test for observe API
* More tests to cover all native gates, custom operations
* One more test - check kernel that takes arguments

Signed-off-by: Pradnya Khalate <[email protected]>
  not supported.
* Simplify test setup since mock server isn't being used.

Signed-off-by: Pradnya Khalate <[email protected]>
Co-authored-by: Bettina Heim <[email protected]>

Signed-off-by: Pradnya Khalate <[email protected]>
Signed-off-by: Pradnya Khalate <[email protected]>
Signed-off-by: Anna Gringauze <[email protected]>
Signed-off-by: Anna Gringauze <[email protected]>
I, Anna Gringauze <[email protected]>, hereby add my Signed-off-by to this commit: 3966ee3

Signed-off-by: Anna Gringauze <[email protected]>
Copy link
Collaborator

@bmhowe23 bmhowe23 left a comment

Choose a reason for hiding this comment

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

Assuming the CI passes, these changes LGTM (modulo any new issues we need to open to track future work). Thanks for your quick work on this, @annagrin!

@annagrin annagrin enabled auto-merge (squash) November 27, 2024 01:38
@annagrin annagrin merged commit 1dea79e into NVIDIA:main Nov 27, 2024
210 of 211 checks passed
@khalatepradnya khalatepradnya changed the title Support measurements of subveqs for bracket Support measurements of subveqs for braket Dec 2, 2024
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.

5 participants