PabloAMC / TFermion

A non-Clifford gate cost assessment library of quantum phase estimation algorithms for quantum chemistry
Apache License 2.0
13 stars 2 forks source link

Tests for the methods #3

Open PabloAMC opened 2 years ago

PabloAMC commented 2 years ago

Tests for the methods are missing.

anonymousr007 commented 2 years ago

Hello Sir,

I am Rishabh, an undergraduate computer engineering student from India. I am working in quantum for the last 2 years. Recently, I saw your post about TFermion and download the paper of it from quantum-journal, it's really interesting and I want to become a good contributor to this project and learn more mathematics and test run codes. Can you please guide me further in this?

Thanks & Regards Rishabh

roberCO commented 2 years ago

Hello Rishabh,

good to hear that TFermion it is interesting to you!

There are many things to do in the project. As @PabloAMC explains in this issue, we want to create automated tests for the methods. The methods (for example, https://github.com/PabloAMC/TFermion/blob/main/plane_waves_methods.py#L13) do a lot of intermediate calculations so we need to be sure that if we modify the method or we add something new, the result is the same.

One point to start could be to generate automated test for methods in utils.py like https://github.com/PabloAMC/TFermion/blob/main/utils.py#L168

Thank you very much! Roberto.