Quantum Simulator

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.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("Unitary")

0.3.11 by Zengchao Xu, 3 months ago


Browse source code at https://github.com/cran/Unitary


Authors: Zengchao Xu [aut, cre, cph]


Documentation:   PDF Manual  


GPL (>= 3) license


Imports Formula, grid, gtable, latex2exp, data.table

Suggests testthat


See at CRAN