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

refactor: drop BasePrimitiveResult.experiments and BasePrimitiveResult.num_experiments #63

Merged
merged 3 commits into from
Feb 6, 2024

Conversation

1ucian0
Copy link
Contributor

@1ucian0 1ucian0 commented Feb 6, 2024

Qiskit 0.46 removes BasePrimitiveResult.experiments and BasePrimitiveResult.num_experiments. This PR moves away from those deprecated properties.

@1ucian0 1ucian0 requested a review from a team as a code owner February 6, 2024 12:45
Copy link
Member

@pedrorrivero pedrorrivero left a comment

Choose a reason for hiding this comment

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

Thanks a lot @1ucian0! Just two things:

  1. Small fix in the experiments dictionary key
  2. Lint is failing, this should be fixed automatically by running tox -e style,lint -- this should be the last step after addressing [1]

zne/zne_strategy.py Outdated Show resolved Hide resolved
@pedrorrivero pedrorrivero changed the title Move away from BasePrimitiveResult.experiments and BasePrimitiveResult.num_experiments refactor: drop BasePrimitiveResult.experiments and BasePrimitiveResult.num_experiments Feb 6, 2024
@pedrorrivero pedrorrivero added enhancement New non-feature request (e.g. performance) PL-1 Priority level 1/5 → High labels Feb 6, 2024
@pedrorrivero pedrorrivero merged commit 7f71521 into qiskit-community:main Feb 6, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New non-feature request (e.g. performance) PL-1 Priority level 1/5 → High
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants