Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge developments in preparation for release v0.4 #121

Merged
merged 59 commits into from
Nov 13, 2023
Merged

Merge developments in preparation for release v0.4 #121

merged 59 commits into from
Nov 13, 2023

Commits on Sep 26, 2023

  1. Simplify Tensor struct (#99)

    * Remove `meta` field from `Tensor`
    
    * Refactor type of `Tensor.inds` field to `ImmutableVector`
    
    Reduce inference-time overhead due to `Tuple` specializations
    
    * Avoid `TensorNetwork` specialization on `Makie.plot` methods
    
    * Fix annotation of hyperindices on `plot`
    
    * Fix hyperindex labelling
    mofeing authored Sep 26, 2023
    Configuration menu
    Copy the full SHA
    cd9a18f View commit details
    Browse the repository at this point in the history
  2. Remove length method for TensorNetwork

    Semantics were not very clear. Use `length(tensors(tn))` instead.
    mofeing committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    4af4b94 View commit details
    Browse the repository at this point in the history
  3. Format code

    mofeing committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    be2e2e9 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2023

  1. Configuration menu
    Copy the full SHA
    146838d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6f32e3d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dc00471 View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2023

  1. Import EinExprs.inds symbol

    mofeing committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    b5b3317 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    eb5094a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2c91f0e View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2023

  1. Configuration menu
    Copy the full SHA
    a941fcd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    270be2b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    79027fd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7b48e03 View commit details
    Browse the repository at this point in the history
  5. Fix mutation on merge(::TensorNetwork)

    `copy` is not acting as expected and the copied TN has the `.indices` field mutated.
    mofeing committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    e26b1f0 View commit details
    Browse the repository at this point in the history
  6. Refactor Quantum TNs

    mofeing committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    4e8ea4b View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2023

  1. Configuration menu
    Copy the full SHA
    dac1cb8 View commit details
    Browse the repository at this point in the history
  2. Refactor MatrixProduct

    mofeing committed Oct 7, 2023
    Configuration menu
    Copy the full SHA
    7bcc2f7 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2023

  1. Refactor Quac extension

    mofeing committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    462a161 View commit details
    Browse the repository at this point in the history
  2. Test changes for MPO

    mofeing committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    2057a14 View commit details
    Browse the repository at this point in the history
  3. Refactor replace

    mofeing committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    ebcab1a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f28bcf4 View commit details
    Browse the repository at this point in the history
  5. Fix normalize!

    mofeing committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    64ed193 View commit details
    Browse the repository at this point in the history
  6. Remove legacy code

    mofeing committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    b872801 View commit details
    Browse the repository at this point in the history
  7. Update ChainRules extensions

    mofeing committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    4ea6ab9 View commit details
    Browse the repository at this point in the history
  8. Fix copy on TensorNetwork

    mofeing committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    e2e9721 View commit details
    Browse the repository at this point in the history
  9. Fix PEP constructor

    mofeing committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    62cce3b View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    b090cfc View commit details
    Browse the repository at this point in the history
  11. Fix docs

    mofeing committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    7be0448 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2023

  1. Enable norm test on MPO

    mofeing committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    d3e4c11 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6567aa9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    86f3a05 View commit details
    Browse the repository at this point in the history
  4. Update contract docstring

    mofeing committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    ecdc993 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f1ae973 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    41e4e7a View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2023

  1. Merge pull request #103 from bsc-quantic/refactor/oop

    Refactor `TensorNetwork` to class-based OOP organization
    arturgs authored Oct 25, 2023
    Configuration menu
    Copy the full SHA
    d4d0f78 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    43cf7c9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4697c96 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2023

  1. Configuration menu
    Copy the full SHA
    3891c62 View commit details
    Browse the repository at this point in the history
  2. Clean code

    mofeing committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    e7e5fae View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2023

  1. Enhance qr function with mode argument (#114)

    * Add mode argument into qr function
    
    * Remove mode argument, default to reduced QR
    
    * Fix test
    
    * Remove unnecessary argument
    jofrevalles authored Oct 31, 2023
    Configuration menu
    Copy the full SHA
    2089a76 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2023

  1. Format code (#119)

    Co-authored-by: mofeing <[email protected]>
    github-actions[bot] and mofeing authored Nov 1, 2023
    Configuration menu
    Copy the full SHA
    135b5ea View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2023

  1. Remove Quantum TN code

    Moved to new repository [`Qrochet`](https://github.com/bsc-quantic/Qrochet.jl).
    mofeing committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    6057944 View commit details
    Browse the repository at this point in the history
  2. Remove legacy QASM file

    mofeing committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    28f0c32 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2023

  1. Remove Classes dependency

    Move "class" to dual `TensorNetwork`/`AbstractTensorNetwork` types.
    Closes Consider a `Classes.jl` fork or build same functionality on top of other packages #108
    mofeing committed Nov 4, 2023
    Configuration menu
    Copy the full SHA
    3424964 View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2023

  1. Refactor TensorNetwork internals to incidence matrix representation (

    …#120)
    
    * Encode `TensorNetwork` graph using a incidence matrix
    
    * Optimize time, memory of `TensorNetwork` constructor
    
    * Fix `SparseArrays.findnz` on `IncidenceMatrix`
    
    * Replace `Bijections` for `BijectiveDicts`
    
    * Replace `IncidenceMatrix` for dictionaries
    
    * Refactor code and tests
    
    * Fix `Makie` code
    
    * Refactor `ChainRulesTestUtils.rand_tangent` to new `TensorNetwork` fields
    
    * Refactor `ChainRulesCore` rules to new `TensorNetwork` fields
    
    * Fix order of `tensors` when extracting them from `IdDict`
    
    Elements of an `AbstractDict` have no guarantee to be in any order. This was affecting the order in which the `tensors` method was returning the tensors, and thus, doing weird things when computing the jacobian.
    
    * Relax `Vector` eltype specialization in `rand_tangent`
    
    * Fix Makie code to new `tensors(tn)` order
    
    * Fix order stability of elements in `arrays`
    mofeing authored Nov 10, 2023
    Configuration menu
    Copy the full SHA
    4322b45 View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2023

  1. Configuration menu
    Copy the full SHA
    1a23cd2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1524e56 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f2387db View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    005d8a4 View commit details
    Browse the repository at this point in the history
  5. Refactor select method and add getindex function

    to TensorNetwork
    mofeing committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    5b3e11b View commit details
    Browse the repository at this point in the history
  6. Refactor circle point calculation in

    `smooth_annotation` function  for code correctness
    mofeing committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    c8669df View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2023

  1. Configuration menu
    Copy the full SHA
    13742fb View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2023

  1. Add lu decomposition for Tensors (#94)

    * Implement LinearAlgebra.lu decompoisition
    
    * Add tests for the new LinearAlgebra.lu function
    
    * Replace legacy labels for inds function
    
    * Refactor LU decomposition
    
    * Fix undef var in `factorinds`
    
    * Refactor QR decomposition
    
    * Update docstrings of `qr`,`lu`
    
    * Refactor SVD factorization
    
    * Fix typo
    
    * Add factorizations to docs
    
    ---------
    
    Co-authored-by: Sergio Sánchez Ramírez <[email protected]>
    jofrevalles and mofeing authored Nov 13, 2023
    Configuration menu
    Copy the full SHA
    dd9b6d3 View commit details
    Browse the repository at this point in the history
  2. Format code

    mofeing committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    aad0fe6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    97ac71d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6b29aaf View commit details
    Browse the repository at this point in the history
  5. Reorganize README

    mofeing committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    069f118 View commit details
    Browse the repository at this point in the history
  6. Set compat version of stdlibs

    Prepare for upgradable stdlibs of Julia 1.10
    mofeing committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    48f7dde View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6ed272b View commit details
    Browse the repository at this point in the history