We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Repro test case:
geom = ''' Na 0.0 0.0 0.0 H 0.0 0.0 1.914388 ''' fo = [0, 1, 2, 3, 4, 10, 11, 12, 13, 14] ao = [5, 9, 15, 19] H = createOperator('pyscf', {'basis': 'sto-3g', 'geometry': geom, 'frozen-spin-orbitals': fo, 'active-spin-orbitals': ao}) energy = ansatz.observe(H, qalloc(4), 1.234)
This will eventually invoke qreg::weighted_sum, which assumes the observable is of Pauli-type.
qreg::weighted_sum
Note: the workaround is to explicitly apply operatorTransform("jw", H)
operatorTransform("jw", H)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Repro test case:
This will eventually invoke
qreg::weighted_sum
, which assumes the observable is of Pauli-type.Note: the workaround is to explicitly apply
operatorTransform("jw", H)
The text was updated successfully, but these errors were encountered: