Skip to content

QuantumBFS/qsym-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qsym-rs

CI

A small symbolic Pauli-algebra engine and qsym CLI. It is the worked example for QudeLeap's beginner-training "how to develop" lab — small on purpose, so the interesting part is the workflow around it, not the algebra.

What it does

The engine handles single Paulis, Pauli strings, multiplication with phase tracking (i^k), a commutes predicate, a sign() token, and weight() (the count of non-identity sites). The qsym CLI exposes a small toolkit of three subcommands:

$ qsym mul XZ ZX
+YY
$ qsym show XIZ
+XIZ  len=3 weight=2 sign=+
$ qsym weight XIZ
2

Extension features — a commute subcommand, a kron (tensor-product) subcommand, a --verbose flag, and a GitHub Pages deploy workflow — are intentionally left as training-starter issues for newcomers to implement end-to-end. See docs/design/qsym-rs.md for the roadmap and docs/training-issues/ for the issue write-ups.

Setup

git clone https://github.com/QudeLeap/qsym-rs
cd qsym-rs
make check      # fmt-check + clippy + test

License

Apache-2.0. See LICENSE.

About

Training repo for /beginner-training Track 4 — symbolic Pauli algebra in Rust (copied from QudeLeap/qsym-rs)

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors