Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

InterpolativeQTT

Dev Build Status

Julia implementation of multiscale polynomial interpolation for quantics/quantized tensor trains (QTTs).

Installation

julia
] 
add https://github.com/tensor4all/InterpolativeQTT.jl

Algorithm

This package implements the multiscale interpolative construction of quantized tensor trains as described in:

Multiscale interpolative construction of quantized tensor trains by Michael Lindsey

Features

  • Single-scale and multi-scale interpolative construction
  • 1D to multi dimensions

Example

import TensorCrossInterpolation as TCI
import InterpolativeQTT

# Single-scale interpolation
f(x) = exp(-x^2)
tt = InterpolativeQTT.interpolatesinglescale(f, -2.0, 2.0, 8, 20) # TensorCrossInterpolation.TensorTrain{Float64, 3}

# Multi-scale interpolation with singularity
g(x) = x == 0.0 ? 0.0 : 1/x
tt_multiscale = InterpolativeQTT.interpolatemultiscale(g, 0.0, 1.0, 12, 25, [0.0])

About

Multiscale interpolation for quantics tensor trains

Resources

Stars

4 stars

Watchers

6 watching

Forks

Releases

Packages

Contributors

Languages