-
Notifications
You must be signed in to change notification settings - Fork 172
Open
Description
The current Trotter function unit tests call REQUIRE inside loops with "applyTrotterizedImaginaryTimeEvolution" test results in (262153 assertions in 1 test case).
Relatedly, they appear to be comparing two Quregs per-amplitude, via
// iterating over i
qcomp other_amp = getQuregAmp(qureg, i);
qreal other_mag = other_amp.real() * other_amp.real() + other_amp.imag() * other_amp.imag();
(instead of simply calcProbOfBasisState), but it is unclear why the Qureg must be compared via magnitude instead of the existing Qureg-wide amplitude comparisons. Fix this!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels