Skip to content

Commit

Permalink
Fix import TAT(not completed)
Browse files Browse the repository at this point in the history
  • Loading branch information
hzhangxyz committed Nov 17, 2023
1 parent 87c1215 commit 3fa6360
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion tetragono/tetragono/common_tensor/Fermi.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#

import TAT
from tat import compat as TAT
from .tensor_toolkit import Fedge, Tedge, rename_io

Tensor = TAT.Fermi.Z.Tensor
Expand Down
2 changes: 1 addition & 1 deletion tetragono/tetragono/common_tensor/FermiFermi_Hubbard.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#

import TAT
from tat import compat as TAT
from .tensor_toolkit import Fedge, Tedge, rename_io

Tensor = TAT.FermiFermi.Z.Tensor
Expand Down
2 changes: 1 addition & 1 deletion tetragono/tetragono/common_tensor/FermiU1_Hubbard.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#

import TAT
from tat import compat as TAT
from .tensor_toolkit import Fedge, Tedge, rename_io

Tensor = TAT.FermiU1.Z.Tensor
Expand Down
2 changes: 1 addition & 1 deletion tetragono/tetragono/common_tensor/FermiU1_tJ.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#

import TAT
from tat import compat as TAT
from .tensor_toolkit import Fedge, Tedge, rename_io

Tensor = TAT.FermiU1.Z.Tensor
Expand Down
2 changes: 1 addition & 1 deletion tetragono/tetragono/common_tensor/No.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#

import TAT
from tat import compat as TAT
from .tensor_toolkit import rename_io, kronecker_product

Tensor = TAT.No.Z.Tensor
Expand Down
2 changes: 1 addition & 1 deletion tetragono/tetragono/common_tensor/Parity.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#

import TAT
from tat import compat as TAT
from .tensor_toolkit import Fedge, Tedge, rename_io

Tensor = TAT.Parity.Z.Tensor
Expand Down
2 changes: 1 addition & 1 deletion tetragono/tetragono/sampling_lattice/observer.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

import os
import numpy as np
import PyScalapack
#import PyScalapack
from ..utility import (show, showln, allreduce_lattice_buffer, allreduce_buffer, allreduce_number, bcast_buffer,
lattice_update, lattice_prod_sum, lattice_conjugate, mpi_rank, mpi_size, mpi_comm, pickle)
from ..tensor_element import tensor_element
Expand Down
2 changes: 1 addition & 1 deletion tetragono/tetragono/sampling_lattice/sampling.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#

import numpy as np
import TAT
from tat import compat as TAT
from ..auxiliaries import DoubleLayerAuxiliaries, ThreeLineAuxiliaries
from ..utility import mpi_rank, mpi_size
from ..tensor_element import tensor_element
Expand Down
2 changes: 1 addition & 1 deletion tetragono/tetragono/utility.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
import importlib.machinery
from mpi4py import MPI
import numpy as np
import TAT
from tat import compat as TAT

clear_line = "\u001b[2K"

Expand Down

0 comments on commit 3fa6360

Please sign in to comment.