Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: USTC-TNS/TNSP
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.3.1
Choose a base ref
...
head repository: USTC-TNS/TNSP
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.3.2
Choose a head ref
  • 20 commits
  • 35 files changed
  • 1 contributor

Commits on Feb 21, 2023

  1. [TAT.py] Remove a duplicated reference count in getting blocks

    The blocks result only depends on tensor itself, does not depend on the
    auxiliary blocks object. The former relation has been described by the base
    argument in array_t constructor.
    hzhangxyz committed Feb 21, 2023
    Configuration menu
    Copy the full SHA
    7cdd5e3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b8b0e33 View commit details
    Browse the repository at this point in the history
  3. [tet.py] Use tensor.reciprocal() in tetragono

    This function is useful when spliting a tensor to two sqrt tensor especially for
    fermionic case.
    hzhangxyz committed Feb 21, 2023
    Configuration menu
    Copy the full SHA
    424f337 View commit details
    Browse the repository at this point in the history
  4. [TAT.py] Sqrt of tensor will calculate sqrt of abs for the tensor.

    Since sqrt for the tensor contains negative number is meaningless.
    hzhangxyz committed Feb 21, 2023
    Configuration menu
    Copy the full SHA
    714fb2a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4b68dab View commit details
    Browse the repository at this point in the history
  6. [build] Update openblas to 0.3.21 in github action build for windows

    Update the openblas version to 0.3.21 in the build script used by github action
    for the windows platform.
    hzhangxyz committed Feb 21, 2023
    Configuration menu
    Copy the full SHA
    7deb719 View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2023

  1. [tet.py] Add direct pseudo inverse method to calculate natural gradient.

    add parameter `use_natural_gradient_by_direct_pseudo_inverse`,
    `natural_gradient_r_pinv` and `natural_gradient_a_pinv` for high/mid-level API
    in `gm_run` to use direct pseudo inverse to calculate natural gradient.
    
    Method detail could be found at arXiv2302.01941.
    hzhangxyz committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    a27fb2e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f7bb43f View commit details
    Browse the repository at this point in the history
  3. [tetku.py] Add Hamiltonian to another part of density matrix.

    Add hamiltonian to another part of density matrix for Heisenberg/Hubbard/tJ
    model. It ensures the result density is unitary despite of errors introduced
    by contract and approximation.
    hzhangxyz committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    ecac199 View commit details
    Browse the repository at this point in the history
  4. [tetku.py] Add a new parameter =side= ofr density matrix state.

    This control whether the hamiltonian should apply to single side or both side of
    density matrix.
    hzhangxyz committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    a9d13fc View commit details
    Browse the repository at this point in the history
  5. [tetku.py] Add a comment for the density matrix model.

    To avoid copying from these files and causing bug in the future when dealing with
    complex model.
    hzhangxyz committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    3f96ed4 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    bf4f6fb View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    2de7aae View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0548988 View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2023

  1. [tetku.py] Fix missing side for abstract_lattice creator in a9d13fc.

    The abstract_lattice for density matrix state also accept side argument.
    hzhangxyz committed Feb 24, 2023
    Configuration menu
    Copy the full SHA
    55c594e View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2023

  1. Configuration menu
    Copy the full SHA
    a0f1e13 View commit details
    Browse the repository at this point in the history
  2. [tet.py] Fix error when trying to import model file by $TETPATH.

    Add import importlib.util/machinery since sometimes they are not
    imported.
    hzhangxyz committed Feb 27, 2023
    Configuration menu
    Copy the full SHA
    b99eabc View commit details
    Browse the repository at this point in the history
  3. [tetaux] Move Configuration for ap state to an individual package.

    Move `Configuration` for ap state to an individual package named
    `tetraux` from `TAT.py`, which is not related to the tensor itself.
    hzhangxyz committed Feb 27, 2023
    Configuration menu
    Copy the full SHA
    a6ba585 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8ca864a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e3a2d54 View commit details
    Browse the repository at this point in the history
Loading