This repository was archived by the owner on Jan 12, 2024. It is now read-only.
This repository was archived by the owner on Jan 12, 2024. It is now read-only.
Incorrect Jordan Wigner C# Encoding? #157
Open
Description
Looking for some clarification into the implementation of the Jordan Wigner transform in Q#.
QuantumLibraries/Chemistry/src/DataModel/Fermion/JordanWignerEncoding.cs
Lines 148 to 169 in 6899af4
Here, we have only one of the h^(1), h^(2), h^(3) terms associated with a coefficient. When we reference the paper associated with the implementation, two should be additive inverses, while the last is 0:
(pg 13, 14 of Whitfield et al. https://arxiv.org/pdf/1001.3855.pdf)
The coefficient orderings + labelings seem to differ greatly and produce different results.