Fastor VS ITensors.jl

Compare Fastor vs ITensors.jl and see what are their differences.

Fastor

A lightweight high performance tensor algebra framework for modern C++ (by romeric)

ITensors.jl

A Julia library for efficient tensor computations and tensor network calculations (by ITensor)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
Fastor ITensors.jl
5 4
706 483
- 1.2%
4.3 9.4
22 days ago 5 days ago
C++ Julia
MIT License Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Fastor

Posts with mentions or reviews of Fastor. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-09.
  • Standard way of doing maths with arrays?
    2 projects | /r/cpp_questions | 9 Mar 2023
    I'm going to throw in a recommendation for Fastor. It is generally faster than other libraries, is very lightweight, and has a pretty modern syntax.
  • LibRapid -- High Performance Arrays for C++
    4 projects | /r/cpp | 9 Feb 2023
  • From Julia to C++ Struggle
    5 projects | /r/Julia | 9 Feb 2022
    There are C++ libraries that deal with linear algebra and tensors that are able to produce fully vectorized code without requiring you to mess around with SIMD intrinsics. See, for instance, fastor, blaze, eigen and the huge Trillinos set of packages. C++ is very widely used when it comes to scientific HPC applications. All you need to do is google search or better yet, join r/cpp and r/cpp_questions and start asking away for the things you need. The C++ community is very welcoming and full of experts that will be able to help you.
  • Use of BLAS vs direct SIMD for linear algebra library operations?
    3 projects | /r/cpp | 28 Aug 2021
    Picking what size you are targeting is really important, though. Could the matrices you are working with realistically be bigger than say 32x32? BLAS is good for big matrices. It's not as great for small matrices. Eigen or Fastor will do better for these smaller problems. And for various common operations on sizes 2, 3, and 4, hand coded graphics-oriented libraries might outperform those.
  • Scientific computing in Cpp
    2 projects | /r/cpp | 18 Feb 2021
    Tensorflow, Machine learning: https://www.tensorflow.org/ Fastor, A tensor library: https://github.com/romeric/Fastor GNU Scientific Library(GSL): https://www.gnu.org/software/gsl/ Boost. FEniCS, A finite element library: https://fenicsproject.org/ Intel MKL, a BLAS+LAPACK+other goodies library: https://software.intel.com/content/www/us/en/develop/tools/math-kernel-library.html SuiteSparse, A sparse linear algebra library: http://faculty.cse.tamu.edu/davis/suitesparse.html Sundials, Nonlinear solvers: https://computing.llnl.gov/projects/sundials

ITensors.jl

Posts with mentions or reviews of ITensors.jl. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-08-18.
  • A question relating to the BCS theory ground state
    1 project | /r/AskPhysics | 30 Mar 2023
    DMRG packages are available in Julia and C++ and Python. (Don't use Fortran. But here is a Fortran library if you insist.)
  • To those working in computational physics, what do you think of Julia?
    1 project | /r/Physics | 21 Dec 2022
    As one example, one of the leading libraries for tensor network simulations (https://itensor.org) has recently been rewritten in Julia (previously was c++) and the flatiron institute who develops it (which is certainly one of the leading Computational physics institutions in the world) is advising new users to use the Julia version. I also know some other computational groups which use Julia, even for things like quantum Monte Carlo (where I personally would have believed c++ to have an edge but people tell me different)! I think when even leading computational groups switch, Julia is almost always the much better option for the average user if you write your code from scratch (a situation not so rare in condensed matter). If you need to use some libraries or legacy code, this obviously changes the situation.
  • Julia 1.8 has been released
    8 projects | news.ycombinator.com | 18 Aug 2022
    > One thing that supports this view is that there are several Julia packages that are wrappers around existing C/Fortran/C++ libraries, and basically no examples (that I know) of people porting existing libraries to Julia.

    As with the others, I'll strongly disagree and chime in with a few examples off the top of my head:

    * ITensors.jl : They started moving from a C++ to Julia a couple years ago and now their webpage doesn't even mention their original C++ implementation on its homepage anymore https://itensor.org/

    * DifferentialEquations.jl : This has many state of the art differentiatial equation solving facilities in it, many of which are improvements over old Fortran libraries.

    * SpecialFunctions.jl, Julia's own libm, Bessels.jl, SLEEFPirates.jl : Many core math functions have ancient Fortran or C implementations from OpenLibm or whatever, and they're being progressively replaced with better, faster versions written in pure julia that outperform the old versions.

  • Initializing an n^k array as a sparse array?
    1 project | /r/Julia | 30 May 2021
    Otherwise, maybe check ITensors.jl or look for packages that want to do the same thing?

What are some alternatives?

When comparing Fastor and ITensors.jl you can also consider the following projects:

xtensor - C++ tensors with broadcasting and lazy computing

danfojs - Danfo.js is an open source, JavaScript library providing high performance, intuitive, and easy to use data structures for manipulating and processing structured data.

DirectXMath - DirectXMath is an all inline SIMD C++ linear algebra library for use in games and graphics apps

Measurements.jl - Error propagation calculator and library for physical measurements. It supports real and complex numbers with uncertainty, arbitrary precision calculations, operations with arrays, and numerical integration.

dynarray - A header-only library, VLA for C++ (≥C++14). Extended version of std::experimental::dynarray

NTNk.jl - Unsupervised Machine Learning: Nonnegative Tensor Networks + k-means clustering

sundials - Official development repository for SUNDIALS - a SUite of Nonlinear and DIfferential/ALgebraic equation Solvers. Pull requests are welcome for bug fixes and minor changes.

Octavian.jl - Multi-threaded BLAS-like library that provides pure Julia matrix multiplication

ArrayFire - ArrayFire: a general purpose GPU library.

ProtoStructs.jl - Easy prototyping of structs

SPTK - A suite of speech signal processing tools

RecursiveArrayTools.jl - Tools for easily handling objects like arrays of arrays and deeper nestings in scientific machine learning (SciML) and other applications