Draft
Conversation
added 2 commits
February 3, 2026 16:05
Signed-off-by: Tobias Schmale <tobias.schmale@qudora.com>
Signed-off-by: Tobias Schmale <tobias.schmale@qudora.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This is a first prototype of a cudaq integration with the QUDORA api by means of a new ServerHelper.
There are still a few things to do:
Despite these open points I'm opening this draft pull request to get some early feedback.
Some open questions:
ctrl_z_kernel) generate unused (and hence undesirable)__quantum__rt__read_result. Can those be eliminated automatically by adjusting the compilation pipeline?createSampleResultFromQirOutputis sufficient to pass all current tests, the resulting shots dict seems to contain less information than the qir output log and in particular looks different than shot dicts generated with cudaqs native simulator (__global__and named outputs are missing in the shot dicts generated usingcreateSampleResultFromQirOutput). Is this a problem?ServerMessageperKernelExecutionobject, i.e. each job only contains 1 kernel for execution. However, our api also supports multiple independant kernels/qir-programs to be submitted in one "job" for a reduced communication overhead. The current api ofServerHelperdoes in principle allow generating only 1ServerMessagefor astd::vector<KernelExecution>, however, we saw no way of retrieving these bundled results using the current API ofServerHelperin a manner compatible withcudaq.observe. Did we miss something here, or is "multiple kernels per jobs" simply not supported currently?In case thats easier, we are happy to discuss any of the above points (in particular how to proceed with production tests) in a call.