qiskit-community / qiskit-nature

Qiskit Nature is an open-source, quantum computing, framework for solving quantum mechanical natural science problems.
https://qiskit-community.github.io/qiskit-nature/
Apache License 2.0
290 stars 197 forks source link

qiskit docs tutorial examples 01 and 03 fail with 'csr matrix has no attribute H' #1365

Open twobombs opened 3 days ago

twobombs commented 3 days ago

Environment

What is happening?

running https://github.com/qiskit-community/qiskit-nature/blob/main/docs/tutorials/01_electronic_structure.ipynb

the notebook runs along happily GRqlpXRaUAEUyOM

yet this happens at the solver step :

qiskit_nature_ground_state_thereminq_remote_screen2_H-error

How can we reproduce the issue?

run https://github.com/qiskit-community/qiskit-nature/blob/main/docs/tutorials/01_electronic_structure.ipynb https://github.com/qiskit-community/qiskit-nature/blob/main/docs/tutorials/03_ground_state_solvers.ipynb ( the other tutorial examples ran fine ) image

What should happen?

AFAIK eigensolver should be able to produce a measurement

Any suggestions?

are all variables declared - is there a compatibility/deprecation issue ?