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

Basic tensor network class #10

Open
yhtang opened this issue Nov 5, 2021 · 0 comments
Open

Basic tensor network class #10

yhtang opened this issue Nov 5, 2021 · 0 comments
Assignees
Labels

Comments

@yhtang
Copy link
Owner

yhtang commented Nov 5, 2021

#!/usr/bin/env python
# -*- coding: utf-8 -*-
from funfact.lang._tsrex import TsrEx


class TensorNetwork:
    def __init__(self):
        pass

    def add_node(self, *tensor_spec_args, **tensor_spec_kwargs):
        pass

    def add_edge(self, e: TsrEx):
        pass

    def contract(self, edgelist=None):
        pass

    @property
    def nodes(self):
        pass

    @property
    def edges(self):
        pass
@yhtang yhtang added this to the V1.0 milestone Nov 5, 2021
@yhtang yhtang self-assigned this Nov 5, 2021
@yhtang yhtang added the backlog label Nov 14, 2021
@yhtang yhtang removed this from the V1.0 milestone Nov 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant