Difficulties in rediscovering Von Neumann entropy from eigenvalue data #685
Replies: 1 comment 5 replies
-
Hm, yeah it should be pretty easy for it to find that. Are there any data preprocessing steps that could be generating invalid results for Out of curiosity, why not give it Also since it’s so simple you likely don’t need that many datapoints. Even 100 should be okay. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The Von Neumann equation states that the entropy of a density matrix$\rho$ is of the form:
where
I have 10,000+ rows of data for the eigenvalues for density matrices as they evolve over time and I have 10,000+ rows of data for the entropy of the density matrices. I have checked that the eigenvalue data matches the correct entropy value when the Von Neumann equation is applied to the eigenvalues. I am trying to use PySR to rediscover the Von Neumann entropy equation using the eigenvalue data before I try applying the package to more complicated scenarios in quantum information.
I can't seem to get PySR to find the correct expression. I'm including a screenshot of its results when working with my data. In this, "l1" and "l2" are the two eigenvalues of the density matrices. My density matrices only ever have two eigenvalues.
... I was assuming that this would have been an easy problem for PySR to solve given that I just have two columns of data and the correct expression just a sum with some natural logs attached. I'm completely new to using PySR so I am assuming that I just don't understand how to work with the package yet. This is the code that I'm using to generate the model, which I've left almost completely unedited from the example given on the repo's README file:
Should I be using different operators? Is the number of iterations too small? Is it problematic to try discovering an expression that only depends on two variables? Is it a known issue that PySR struggles to predict expressions involving natural logs and sums?
Any guidance would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions