Skip to content

How to use Pauli matrices in QNET? #94

@rupayan2029

Description

@rupayan2029
  • 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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions