-
Notifications
You must be signed in to change notification settings - Fork 378
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
17 additions
and
7 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
releasenotes/notes/removed-useless-code-MPS-simulator-98ca4717e0612ac2.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,14 @@ | ||
--- | ||
prelude: > | ||
Removed code that was never executed in ``MPS::sample_measure``, also removed | ||
the ``shots`` parameter as it wasn't used. | ||
features: | ||
- | | ||
Probably the compiler can optimize out those things, but the code is cleaner | ||
this way. The ``params`` parameter was removed from ``MPS::sample_measure`` | ||
as it's not used, also a check and unreacheable code from the same function | ||
is removed. | ||
- | | ||
There is no change in behaviour, just code cleanup. | ||
Refer to `#2305 <https://github.com/Qiskit/qiskit-aer/issues/2305>` | ||
for more details. |
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
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