qwalkr

qwalkr: Handle Continuous-Time Quantum Walks with R

https://github.com/vitormarquesr/qwalkr

Science Score: 13.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
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.1%) to scientific vocabulary

Keywords

linear-algebra probability-theory quantum-computing quantum-walk r statistics
Last synced: 9 months ago · JSON representation

Repository

qwalkr: Handle Continuous-Time Quantum Walks with R

Basic Info
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 1
Topics
linear-algebra probability-theory quantum-computing quantum-walk r statistics
Created almost 3 years ago · Last pushed over 2 years ago
Metadata Files
Readme Changelog License

README.Rmd

---
output: github_document
---



```{r, include = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)
```

# qwalkr qwalkr website


[![R-CMD-check](https://github.com/vitormarquesr/qwalkr/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/vitormarquesr/qwalkr/actions/workflows/R-CMD-check.yaml)
[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental)
[![CRAN status](https://www.r-pkg.org/badges/version/qwalkr)](https://CRAN.R-project.org/package=qwalkr)
[![Downloads](https://cranlogs.r-pkg.org/badges/qwalkr)](https://cran.r-project.org/package=qwalkr)


## Overview 

qwalkr is a numerical suite for investigating quantum walks, providing estimates of matrices of interests that help you obtain insight into the evolution of such systems:

**Quantum Walks**

* `ctqwalk()` creates a continuous-time quantum walk.

**Investigate the Hamiltonian**

* `get_eigspace()` obtains the eigenvectors associated with an eigenspace.
* `get_eigproj()` obtains the orthogonal projector associated with an eigenspace.
* `get_eigschur()`obtains the Schur product of orthogonal projectors.
* `act_eigfun()` applies a function to the Hamiltonian.

**Time Evolution**

* `unitary_matrix()` returns the unitary time evolution operator at a given time.
* `mixing_matrix()` returns the mixing matrix at a given time.

**Average Evolution**

* `avg_matrix()` returns the average mixing matrix.
* `gavg_matrix()` returns the generalized average mixing matrix under a probability distribution.

## Installation

You can install the stable version of `qwalkr` from CRAN:

```{r, eval=FALSE}
install.packages("qwalkr")
```

For the development version, you can install from Github like so:

```{r, eval=FALSE}
# install.packages("devtools")
devtools::install_github("vitormarquesr/qwalkr")
```

## Usage

```{r}
library(qwalkr)

K3 <- rbind(c(0, 1, 1),
            c(1, 0, 1),
            c(1, 1, 0))

w <- ctqwalk(hamiltonian = K3)

w


get_eigproj(w, id=2)

unitary_matrix(w, t=pi/3)

mixing_matrix(w, t=pi/3)

avg_matrix(w)

```
## Getting Help

For further reference on the usability, check the vignette or the website of the package.

If you happen to encounter a bug, please file an issue on GitHub.



Owner

  • Name: Vitor Marques
  • Login: vitormarquesr
  • Kind: user
  • Location: Belo Horizonte, Brazil

Statistics, UFMG

GitHub Events

Total
Last Year

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 42
  • Total Committers: 1
  • Avg Commits per committer: 42.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
vitormarquesr 9****r 42

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 28
  • Total pull requests: 14
  • Average time to close issues: 9 days
  • Average time to close pull requests: 3 minutes
  • Total issue authors: 1
  • Total pull request authors: 1
  • Average comments per issue: 0.29
  • Average comments per pull request: 0.0
  • Merged pull requests: 14
  • 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
  • vitormarquesr (13)
Pull Request Authors
  • vitormarquesr (7)
Top Labels
Issue Labels
enhancement (10) question (3) bug (1) documentation (1)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 184 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 1
  • Total maintainers: 1
cran.r-project.org: qwalkr

Handle Continuous-Time Quantum Walks with R

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 184 Last month
Rankings
Dependent packages count: 27.9%
Forks count: 28.0%
Stargazers count: 34.8%
Dependent repos count: 36.9%
Average: 42.7%
Downloads: 86.1%
Maintainers (1)
Last synced: 9 months ago

Dependencies

.github/workflows/pkgdown.yaml actions
  • JamesIves/github-pages-deploy-action v4.4.1 composite
  • actions/checkout v3 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
DESCRIPTION cran
  • knitr * suggests
  • rmarkdown * suggests
  • testthat >= 3.0.0 suggests