[Feature] unroll_block_with_scalling
does not always return proper decomposition of pauli terms with coeffs
#11
Labels
unroll_block_with_scalling
does not always return proper decomposition of pauli terms with coeffs
#11
Porting an issue from Qadence related to the
unroll_block_with_scaling
. This is a function in Qadence that returns a tuple of blocks and their scaling. E.g.This is a routine used in a few different places, and I have also discussed it with @kaosmicadei and we concluded that we should have pretty equivalent functionality in the new block system.
Porting here the issue below opened by Raja:
The issue is that he expected the first coefficient to be 4, but it is 2. This is because
unroll_block_with_scaling
does not simplify anything inside thekron
. I suspect this will not be an issue in the new version.The text was updated successfully, but these errors were encountered: