jet.bindings

Python bindings for the C++ tensor network contraction headers.

Functions

add_tensors(*args, **kwargs)

Overloaded function.

conj(*args, **kwargs)

Overloaded function.

contract_tensors(*args, **kwargs)

Overloaded function.

reshape(*args, **kwargs)

Overloaded function.

slice_index(*args, **kwargs)

Overloaded function.

transpose(*args, **kwargs)

Overloaded function.

version()

Returns the current Jet version.

Classes

PathInfo

PathInfo represents a contraction path in a tensor network.

PathStepInfo

PathStepInfo represents the contraction metadata associated with a node in a TensorNetwork.

TaskBasedContractorC128

TaskBasedContractor represents a tensor network contractor that contracts tensors concurrently using a task-based scheduler.

TaskBasedContractorC64

TaskBasedContractor represents a tensor network contractor that contracts tensors concurrently using a task-based scheduler.

TensorC128

Tensor represents an \(n\)-rank data structure of complex-valued data for tensor operations.

TensorC64

Tensor represents an \(n\)-rank data structure of complex-valued data for tensor operations.

TensorNetworkC128

TensorNetwork represents a tensor network.

TensorNetworkC64

TensorNetwork represents a tensor network.

TensorNetworkFileC128

This class represents the contents of a tensor network file.

TensorNetworkFileC64

This class represents the contents of a tensor network file.

TensorNetworkSerializerC128

TensorNetworkSerializer represents a functor for serializing (and deserializing) a tensor network and contraction path to (and from) a JSON document.

TensorNetworkSerializerC64

TensorNetworkSerializer represents a functor for serializing (and deserializing) a tensor network and contraction path to (and from) a JSON document.

Class Inheritance Diagram

Inheritance diagram of jet.bindings.PathInfo, jet.bindings.PathStepInfo, jet.bindings.TaskBasedContractorC128, jet.bindings.TaskBasedContractorC64, jet.bindings.TensorC128, jet.bindings.TensorC64, jet.bindings.TensorNetworkC128, jet.bindings.TensorNetworkC64, jet.bindings.TensorNetworkFileC128, jet.bindings.TensorNetworkFileC64, jet.bindings.TensorNetworkSerializerC128, jet.bindings.TensorNetworkSerializerC64