cirKITers / qml-essentials

Python package with commonly used Ansaetze and Data-Reuploading Model
https://cirkiters.github.io/qml-essentials/
MIT License
0 stars 0 forks source link

[BUG] Nan when sampling state fidelities #18

Open stroblme opened 1 month ago

stroblme commented 1 month ago

Describe the bug

From expressibility.py (L119):

# FIXME: somehow I get nan's in the histogram,
# when directly creating bins until n
# workaround hack is to add a small epsilon
# could it be related to sampling issues?

@majafranz : check if this is still valid. could not re-create