Source code for ttnopt.ground_state_search

# ground_state_search.py
import argparse
import itertools
import os
from pathlib import Path

import numpy as np
import pandas as pd
import yaml
from dotmap import DotMap

from ttnopt.hamiltonian import hamiltonian
from ttnopt.src import GroundStateSearch, GroundStateSearchSparse, TreeTensorNetwork