-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes to readout mitigator tests (#7482)
* Bugfix in local mitigator and a relevant test * Name fix * Refactoring mitigation tests * Cleanup * Linting * Linting * Small bugfix and a test for it * Fix to rng usage * Linting * Changing test sensitivity * Added settings property to mitigator to allow JSON encoding when given as experiment result * Linting * Linting * Linting * Release note relating to the bugfix * Get the assignment matrices implicitly * Using more specific assertions * Removing magic constants * Make initialization conform to settings * Linting * Removing testcase which might fail on some machines * Removing testcase which might fail on some machines * Linting * Reword release note * Reword release note Co-authored-by: Jake Lishman <jake.lishman@ibm.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> (cherry picked from commit ff267b5) # Conflicts: # test/python/result/test_mitigators.py
- Loading branch information
Showing
4 changed files
with
290 additions
and
263 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
5 changes: 5 additions & 0 deletions
5
releasenotes/notes/fix_local_readout_mitigator_assignment_matrix-8bd4229a5159a7fe.yaml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
fixes: | ||
- | | ||
:meth:`.LocalReadoutMitigator.assignment_matrix` will now accept lists of | ||
qubits beyond the trivial ``[0, 1, 2, ..., n-1]``. |
Oops, something went wrong.