Struct TensorNetwork::Node

Nested Relationships

This struct is a nested type of Template Class TensorNetwork.

Struct Documentation

struct Jet::TensorNetwork::Node

Node is a POD which wraps tensors in a TensorNetwork.

Public Members

NodeID_t id

Unique ID for this node.

std::string name

Name of this node.

std::vector<std::string> indices

Indices of this node.

std::vector<std::string> tags

Tags of this node.

bool contracted

Reports whether this node has been contracted.

Tensor tensor

Tensor of this node.