-
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.
Generalised diamond_distance to accept all BaseOperator types
- Loading branch information
Showing
5 changed files
with
74 additions
and
66 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
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
10 changes: 5 additions & 5 deletions
10
releasenotes/notes/unitary-diamond-feature-fd953e0d0bbbb073.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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
--- | ||
features_quantum_info: | ||
- | | ||
Added :meth:`qiskit.quantum_info.unitary_diamond_distance` function for computing the | ||
distance between two unitary channels. This is equivalent to using | ||
:meth:`qiskit.quantum_info.unitary_diamond_distance` to calculate the distance of two | ||
channels: ``diamond_norm(chan1 - chan2)``. In the case of unitary channels this | ||
implementation is significantly more efficient. Refer to | ||
Added :meth:`qiskit.quantum_info.diamond_distance` function for computing the | ||
distance between two quantum channels. This is equivalent to using | ||
:meth:`qiskit.quantum_info.diamond_norm` to calculate the distance of two | ||
channels: ``diamond_norm(chan1 - chan2)``. If both channels are unitary, the | ||
implementation runs an optimisation. Refer to | ||
`#12341 <https://github.com/Qiskit/qiskit/issues/12341>` 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