Science Score: 23.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: arxiv.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.6%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: shinaoka
  • License: mit
  • Language: Jupyter Notebook
  • Default Branch: main
  • Size: 12.2 MB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created about 2 years ago · Last pushed about 2 years ago
Metadata Files
Readme License Citation

README.md

QuanticsTCI

Dev pipeline status coverage report

This module contains utilities for interpolations of functions in the quantics TCI / quantics tensor train (QTT) format. It is a small wrapper around TensorCrossInterpolation.jl and QuanticsGrids.jl with more convenient functionality intended to cover the most common use cases. For more advanced or unusual use cases, it is likely that you will need to rely on those two libraries directly.

Installation

This module has been registered in the General registry. It can be installed by typing the following in a Julia REPL: julia using Pkg; Pkg.add("QuanticsTCI.jl")

This module depends on: - TensorCrossInterpolation.jl - QuanticsGrids.jl

Usage

This section only contains the bare minimum to get you started. More examples, including more advanced use cases, can be found in the T4F examples repository. For a documentation of the API, see the package documentation.

The easiest way to construct a quantics tensor train is the quanticscrossinterpolate function. For example, the function f(x, y) = (cos(x) - cos(x - 2y)) * abs(x + y) can be interpolated as follows.

julia using QuanticsTCI f(x, y) = (cos(x) - cos(x - 2y)) * abs(x + y) xvals = range(-6, 6; length=256) yvals = range(-12, 12; length=256) qtt, ranks, errors = quanticscrossinterpolate(Float64, f, [xvals, yvals]; tolerance=1e-8) The output object qtt now represents a quantics tensor train. It can then be evaluated a function of indices enumerating the xvals and yvals arrays: julia @show qttvalue = qtt(212, 92) @show truevalue = f(xvals[212], yvals[92]) @show error = abs(qttvalue - truevalue) Output: qttvalue = qtt(212, 92) = -0.2525252152789011 truevalue = f(xvals[212], yvals[92]) = -0.2525252152789314 error = abs(qttvalue - truevalue) = 3.0309088572266774e-14 The output shows that the approximation has an error of only 3 * 10^-14 at [212, 92].

This example is continued in the package documentation, and more examples can be found in the T4F examples repository.

Related libraries

References

  • M. K. Ritter, Y. N. Fernndez, M. Wallerberger, J. von Delft, H. Shinaoka, and X. Waintal, Quantics Tensor Cross Interpolation for High-Resolution, Parsimonious Representations of Multivariate Functions in Physics and Beyond, arXiv:2303.11819.

Owner

  • Name: Hiroshi Shinaoka
  • Login: shinaoka
  • Kind: user
  • Location: Saitama, Japan
  • Company: Department of Physics, Saitama University

Professor of computational physics, quantum many-body theory, condensed matter physics

GitHub Events

Total
Last Year

Issues and Pull Requests

Last synced: over 1 year ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Dependencies

.github/workflows/CompatHelper.yml actions