arrow_backRetour aux issues
qutip/qutip
#2985
Débutant
Ouvrirarrow_forward
Débutant
Ouvrirarrow_forward
Débutant
Ouvrirarrow_forward
`bures_dist` return Nan
ecoDébutant
BUG
good first issue
descriptionDescription
### Bug Description
`bures_dist` can return Nan when computing the distance between the the same object.
### Code to Reproduce the Bug
```shell
import qutip as qt
dm = qt.rand_dm(3, seed=465)
qt.bures_dist(dm, dm)
```
### Code Output
```shell
np.float64(nan)
```
### Expected Behaviour
Should return `0`.
### Your Environment
```shell
Development version.
```
### Additional Context
_No response_
Issues similaires
calkit/calkit
star53
Poids du dépôt moyen
VS Code extension should be robust to YAML parser errors
Seeing this error: ``` Failed to read calkit.yaml: YAMLParseError: A block sequence may not be used as an implicit map…
Python
bug
good first issue
fu351/Doberman-Core
star211
Poids du dépôt léger
dash: a manual Refresh control
The dashboard polls: `refreshStats()` (`src/doberman/dash/app.py:408`) every 5 s and `refreshPending()` (`:546`) every …
Python
enhancement
good first issue
fu351/Doberman-Core
star211
Poids du dépôt léger
dash: "Copy details" button on each pending-approval card
Each pending-approval card in the dashboard (`renderPending`, `src/doberman/dash/app.py:448-544`) shows the risk badge,…
Python
enhancement
good first issue