Assignment3: issue with eigenval

Assignment3: issue with eigenval

by Rojin Anbarafshan -
Number of replies: 2

Hi everyone,

When calling 'groundState' on an identity matrix, I'm getting a 0 ground state energy (instead of 1). I was wondering if anyone else has faced a similar issue?

In general, are we allowed to modify the actual modules or not?

In reply to Rojin Anbarafshan

Re: Assignment3: issue with eigenval

by Ramses van Zon -
No, you are not supposed to modify the modules. The algorithm used by the groundState function does not work if all eigenvalues are equal. It is okay that you have a test that fails. It means the test is doing what it is supposed to; find bugs.