All Projects → fmentink → FastExpm.jl

fmentink / FastExpm.jl

Licence: MIT license
Implementation of a fast exponential matrix for large matrices (full and sparse)

Programming Languages

julia
2034 projects

Projects that are alternatives of or similar to FastExpm.jl

spicyphysics
Sup bois, here's my work
Stars: ✭ 22 (+0%)
Mutual labels:  physics, quantum-mechanics, mathematics
Computer Science Resources
A list of resources in different fields of Computer Science (multiple languages)
Stars: ✭ 1,316 (+5881.82%)
Mutual labels:  physics, mathematics, quantum-computing
Qrack
Comprehensive, GPU accelerated framework for developing universal virtual quantum processors
Stars: ✭ 79 (+259.09%)
Mutual labels:  physics, quantum-computing
Root
The official repository for ROOT: analyzing, storing and visualizing big data, scientifically
Stars: ✭ 1,377 (+6159.09%)
Mutual labels:  physics, mathematics
Artiq
A leading-edge control system for quantum information experiments
Stars: ✭ 245 (+1013.64%)
Mutual labels:  physics, quantum-computing
Imagine Old
Modeling and simulations using computational graphs
Stars: ✭ 25 (+13.64%)
Mutual labels:  physics, mathematics
Orthopy
Orthogonal polynomials in all shapes and sizes.
Stars: ✭ 75 (+240.91%)
Mutual labels:  physics, mathematics
Quimb
A python library for quantum information and many-body calculations including tensor networks.
Stars: ✭ 170 (+672.73%)
Mutual labels:  physics, quantum-computing
Optimesh
Mesh optimization, mesh smoothing.
Stars: ✭ 261 (+1086.36%)
Mutual labels:  physics, mathematics
Qu.js
Quantum Computing for Humans!
Stars: ✭ 15 (-31.82%)
Mutual labels:  quantum-mechanics, quantum-computing
creative-coding-notebooks
🎨 An authorial collection of fundamental recipes on Creative Coding and Recreational Programming.
Stars: ✭ 17 (-22.73%)
Mutual labels:  physics, mathematics
Awesome Scientific Computing
😎 Curated list of awesome software for numerical analysis and scientific computing
Stars: ✭ 476 (+2063.64%)
Mutual labels:  physics, mathematics
Dynamicalsystems.jl
Award winning software library for nonlinear dynamics
Stars: ✭ 381 (+1631.82%)
Mutual labels:  physics, mathematics
Qilin App
Fully hackable text editor developed for exact sciences with built-in KaTeX and AsciiMath support. Extensible via plugins and themes. Exportable as HTML, PDF and GFM.
Stars: ✭ 336 (+1427.27%)
Mutual labels:  physics, mathematics
My NoteBook
サイエンス、テクノロジー、エンジニアリング関連の情報を記載したノート(忘備録)です。
Stars: ✭ 104 (+372.73%)
Mutual labels:  physics, mathematics
Cadabra2
A field-theory motivated approach to computer algebra.
Stars: ✭ 112 (+409.09%)
Mutual labels:  physics, mathematics
continuum mechanics
Utilities for doing calculations in continuum mechanics.
Stars: ✭ 18 (-18.18%)
Mutual labels:  physics, mathematics
fundamental
Software to look for interrelationships between constants and find formulas for number sequences
Stars: ✭ 14 (-36.36%)
Mutual labels:  physics, mathematics
cplot
Function plotter
Stars: ✭ 27 (+22.73%)
Mutual labels:  physics, mathematics
diffractsim
✨ A diffraction simulator for exploring and visualizing physical optics.
Stars: ✭ 239 (+986.36%)
Mutual labels:  physics, physics-simulations

fastExpm.jl a fast exponential for large matrices

This is a fast implementation of exponential matrix for large full/sparse matrices, commonly found in (quantum) physics simulations. It is significantly faster than Julia's exp implementation for matrices bigger than 16x16.

Requirements

Needed

  • LinearAlgebra
  • SparseArrays

Optional

Description

fastExpm(A)
fastExpm(A; threshold=1e-6)
fastExpm(A; nonzero_tol=1e-14)
fastExpm(A; threshold=1e-6, nonzero_tol=1e-14)

This function efficiently implements matrix exponentiation for sparse and full matrices. This code is based on scaling, taylor series and squaring. Currently works only on the CPU

Two optional keyword arguments are used to speed up the computation and preserve sparsity.

  • "threshold" determines the threshold for the Taylor series (default 1e-6), e.g. fastExpm(A, threshold=1e-10)
  • "nonzero_tol" strips elements smaller than nonzero_tol at each computation step to preserve sparsity (default 1e-14) ,e.g. fastExpm(A, nonzero_tol=1e-10)

This code was originally developed by Ilya Kuprov (http://spindynamics.org/) and has been adapted by F. Mentink-Vigier ([email protected]) and Murari Soundararajan ([email protected]). If you use this code, please cite

  • H. J. Hogben, M. Krzystyniak, G. T. P. Charnock, P. J. Hore and I. Kuprov, Spinach – A software library for simulation of spin dynamics in large spin systems, J. Magn. Reson., 2011, 208, 179–194.
  • I. Kuprov, Diagonalization-free implementation of spin relaxation theory for large spin systems., J. Magn. Reson., 2011, 209, 31–38.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].