I am attempting to simulate a hydrogen molecule using a variational quantum eigensolver using the tutorial given here. However, when I ran the following:
H, qubits = qml.qchem.molecular_hamiltonian(symbols, coordinates)
I received the following error:
No module named 'openfermionpyscf'
I tried to install the package but without success. The error is given as such:
ERROR: The tar file (C:\Users\13473\AppData\Local\Temp\pip-unpack-6nux8jpy\pyscf-2.0.1.tar.gz) has a file (C:\Users\13473\AppData\Local\Temp\pip-install-lid9qlwh\pyscf\pyscf/agf2/aux.py) trying to install outside target directory (C:\Users\13473\AppData\Local\Temp\pip-install-lid9qlwh\pyscf)
I suppose I might have install pennylane incorrectly, but I highly doubt this because this is an entirely new virtual environment. I downloaded pennylane using the instructions provided here. Is there a clear solution to this problem?