XACC - eXtreme-scale Accelerator programming framework
BSD 3-Clause "New" or "Revised" License
167
stars
86
forks
source link
Pauli and Fermion operators add Identity offset when there is a leading +/- sign character #547
Open
1tnguyen opened 2 years ago
Test cases:
The printout contains an extra +1 offset:
(1,0) + (-0.5,-0) Z0 Z1 + (1.2,0) Z1 Z2
The printout contains an extra +1 offset:
(1,0) + (0.5,0) 1^ 0 + (1.2,0) 2^ 3