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

Change RB test parameters to make the test faster and more robust (backport #1295) #1304

Merged
merged 1 commit into from
Oct 31, 2023

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Oct 31, 2023

This is an automatic backport of pull request #1295 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

)

`test_add_more_circuit_yields_lower_variance` started failing with
qiskit-aer 0.13.0. The test was only comparing the results of 3 RB
sampels to 5 RB samples and looking for the case with more samples to
have lower variance. These numbers of samples were likely not enough to
ensure that the case with more samples always had lower variance across
a wide range of random seeds. Here the high number of samples was
increased to 30.

To make sure that the fit results were reasonable and that the test run
time did not get too long, these additional changes were:

* Convert the test from two qubit RB to single qubit RB. This makes the
simulation faster.
* Increase the single qubit gate error. This makes the qubit depolarize
faster so that the RB curve can be traced out with less gates.

(cherry picked from commit b1a42e3)
@coruscating coruscating merged commit 997227f into stable/0.5 Oct 31, 2023
19 checks passed
@coruscating coruscating deleted the mergify/bp/stable/0.5/pr-1295 branch October 31, 2023 15:50
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