Provides a comprehensive toolkit for quantum computing simulation and visualization within the R environment. The package enables users to initialize qubit states, construct custom quantum gates with both unitary transformation and visual parameters, and build full quantum circuits by sequentially adding gates. It includes predefined common gates (e.g., Hadamard, Pauli-X/Y/Z, Control-NOT, Control-Z) and supports direct plotting of circuits and individual gates for intuitive analysis.
| Version: | 0.3.11 |
| Depends: | R (≥ 4.1.0) |
| Imports: | Formula, grid, gtable, latex2exp, data.table |
| Suggests: | testthat (≥ 3.0.0) |
| Published: | 2026-07-06 |
| DOI: | 10.32614/CRAN.package.Unitary |
| Author: | Zengchao Xu [aut, cre, cph] |
| Maintainer: | Zengchao Xu <zengc.xu at aliyun.com> |
| License: | GPL (≥ 3) |
| NeedsCompilation: | no |
| Materials: | NEWS |
| CRAN checks: | Unitary results |
| Reference manual: | Unitary.html , Unitary.pdf |
| Package source: | Unitary_0.3.11.tar.gz |
| Windows binaries: | r-devel: Unitary_0.3.11.zip, r-release: Unitary_0.3.11.zip, r-oldrel: Unitary_0.3.11.zip |
| macOS binaries: | r-release (arm64): Unitary_0.3.11.tgz, r-oldrel (arm64): Unitary_0.3.11.tgz, r-release (x86_64): Unitary_0.3.11.tgz, r-oldrel (x86_64): Unitary_0.3.11.tgz |
Please use the canonical form https://CRAN.R-project.org/package=Unitary to link to this page.