Skip to content

Add measurement_probabilties argument to GateModelResultData class#988

Merged
ryanhill1 merged 6 commits intoqBraid:mainfrom
SaashaJoshi:gatemodel
Jun 2, 2025
Merged

Add measurement_probabilties argument to GateModelResultData class#988
ryanhill1 merged 6 commits intoqBraid:mainfrom
SaashaJoshi:gatemodel

Conversation

@SaashaJoshi
Copy link
Contributor

@SaashaJoshi SaashaJoshi commented May 30, 2025

Summary of changes

This PR adds a measurement_probabilities argument to the GateModelResultData class.

TODO:

  • Fix decimal for measurement_probabilities in the get_probabilities method
  • Type check measurement_probabilities in get_probabilities method.
  • Add test funtion(s) in test_results.py
  • Edit CHANGELOG.md
  • Change normalize_counts to normalize_data and format_counts to format_data`.

Closes #785

@SaashaJoshi SaashaJoshi marked this pull request as ready for review June 2, 2025 00:44
@codecov
Copy link

codecov bot commented Jun 2, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

@ryanhill1 ryanhill1 merged commit ec3f94c into qBraid:main Jun 2, 2025
8 checks passed
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.

Enhance GateModelResultData to support direct probability data

2 participants