Skip to content

Add single-result runtime - #37

Merged
wongey merged 7 commits into
ORNL-QCI:mainfrom
sethrj:runtime-interface
Jun 23, 2025
Merged

wongey merged 7 commits into
ORNL-QCI:mainfrom
sethrj:runtime-interface

Conversation

@sethrj

@sethrj sethrj commented Jun 23, 2025

Copy link
Copy Markdown
Member

QSim and other emulators that operate on a single shot need an interface to record multiple shots and results. This moves the read_result part of the runtime interface to a reusable class; this should be updated in #28 as well. The next step is to move the qir-qsim running code into a reusable class so that we can just pass runtime/quantum interfaces and run an arbitrary number of shots.

Needed for #30

@wongey
wongey self-requested a review June 23, 2025 23:17

@wongey wongey 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.

This removes the get_result/read_result redundancy, and unnecessary naming of the 'default' runtime. Should enable easier result handling.

@wongey
wongey merged commit ba7d78a into ORNL-QCI:main Jun 23, 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