Feat quantinuum provider integration - #209
Open
MoHermes wants to merge 86 commits into
Open
Conversation
hJaffaliColibritd
requested changes
Aug 14, 2026
hJaffaliColibritd
left a comment
Contributor
There was a problem hiding this comment.
Partial review, will continue later
MoHermes
marked this pull request as ready for review
August 25, 2026 11:23
| assert isinstance(backend_result, BackendResult) | ||
| state = backend_result.get_state() | ||
| expectation_values = { | ||
| label: float(np.vdot(state, observable.matrix @ state).real) |
Collaborator
There was a problem hiding this comment.
Changed it to the same computation we do with P grouping 3571952
| grouped_probabilities.append(probabilities) | ||
| return extract_sampled_observable_result(job, grouped_probabilities) | ||
|
|
||
| if job is None and job_ref.annotations.description == "mpqp:observable": |
Contributor
There was a problem hiding this comment.
How do we do if the user wants to retrive result from jobs he launched without using MPQP ? he will not have the annotations rigth ?
Collaborator
There was a problem hiding this comment.
Yes but they can still provide the MPQP equivalent of the job (the same observables and targets).
It's not very good but I can't think of anything else 3571952
…pqp into feat-quantinuum-provider
# Conflicts: # requirements-dev.txt
…eat-quantinuum-provider
…eat-quantinuum-provider
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.
Adds Quantinuum backend support to MPQP using both Quantinuum Nexus and local TKET simulators.
What’s included
pip install mpqp[quantinuum]Local TKET Aer,Aer StateandQulacssimulatorsH-Seriesnoiseless simulators and noisy emulatorsAerandQulacssimulatorssetup_connections, then authentication usingqnx.login()QubitPauliOperatorSupported job types