quantumlib / OpenFermion-FQE

The Fermionic Quantum Emulator (FQE) is a fermionic simulation research tool specializing in quantum circuits emulating fermion dynamics.
Apache License 2.0
60 stars 25 forks source link

generate_antisymm_generator always returns 0 matrix not random matrix #117

Open ungsik opened 2 years ago

ungsik commented 2 years ago

The generage_antisymm_generator function returns zero matrix instead of random matrix. https://github.com/quantumlib/OpenFermion-FQE/blob/109a86418003fb14ee4aea9c88ffc1cd25d28d47/tests/generalized_doubles_factorization_test.py#L36

So, the test_generalized_doubles() is testing against zero matrix.

i-m-karanagarwal commented 2 years ago

Hy, I would like to work on this issue. Can you assign this issue to me?