Skip to content
New issue

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

How to use Pauli matrices in QNET? #94

Open
rupayan2029 opened this issue Sep 20, 2021 · 0 comments
Open

How to use Pauli matrices in QNET? #94

rupayan2029 opened this issue Sep 20, 2021 · 0 comments

Comments

@rupayan2029
Copy link

  • QNET version: 1.4.3
  • Python version: 3.9.6
  • Operating System: Windows 10

Description

I like to mention that I am new to QNET and Python. 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'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant