Sep-24-2021, 11:05 AM
Hello everyone, I work with simulation softwares like QNET and Qutip which are based on Python. I am trying to use QNET Package in my project. In this project there is a module 'qnet.algebra.library.pauli_matrices module' to use pauli matrices (QM). But when I import it, module not found error comes up. I have tried install and reinstall it several times but same problem persist. Below is the detailed description of the problem.
Description
I am trying to use Pauli matrices in my project. In order to do that I tried to import Pauli matrices from the "qnet.algebra.library.pauli_matrices" as mentioned in the QNET API documentation but throws "Module not found error".
What I Did
from qnet. algebra.library import pauli_matrices
ModuleNotFoundError Traceback (most recent call last)
~\AppData\Local\Temp/ipykernel_20216/2406033966.py in <module>
----> 1 from qnet.algebra.library import pauli_matrices
ModuleNotFoundError: No module named 'qnet.algebra.library'
Description
I am trying to use Pauli matrices in my project. In order to do that I tried to import Pauli matrices from the "qnet.algebra.library.pauli_matrices" as mentioned in the QNET API documentation but throws "Module not found error".
What I Did
from qnet. algebra.library import pauli_matrices
ModuleNotFoundError Traceback (most recent call last)
~\AppData\Local\Temp/ipykernel_20216/2406033966.py in <module>
----> 1 from qnet.algebra.library import pauli_matrices
ModuleNotFoundError: No module named 'qnet.algebra.library'