Skip to content
This repository was archived by the owner on Nov 7, 2024. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions tensornetwork/quantum/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from .quantum import *
2 changes: 2 additions & 0 deletions tensornetwork/quantum/quantum.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
from tensornetwork.contractors import greedy
Tensor = Any

__all__ = ['quantum_constructor', 'identity', 'check_spaces', 'QuOperator',
'QuVector', 'QuAdjointVector', 'QuScalar', 'eliminate_identities']

def quantum_constructor(
out_edges: Sequence[Edge],
Expand Down
2 changes: 1 addition & 1 deletion tensornetwork/quantum/quantum_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import pytest
import numpy as np
import tensornetwork as tn
import quantum as qu
import tensornetwork.quantum as qu


def test_constructor(backend):
Expand Down