File Exchange

image thumbnail


version 5.7 (124 KB) by Geza Toth
MATLAB package for quantum information science and quantum mechanics.


Updated 19 Nov 2020

View Version History

View License

This program package helps modeling spin chains, qubit registers, etc. according to nonrelativistic quantum mechanics and some novel ideas from quantum information theory.
In particular, it contains MATLAB routines for reordering qubits, for computing the reduced density matrix after removing some of the qubits, for partial transposition, etc. Most of the routines work also for qudits. It also has routines for handling GHZ states, cluster states, graph states, Dicke states, etc.
See README.txt. See also

Cite As

Geza Toth (2020). QUBIT4MATLAB V5.7 (, MATLAB Central File Exchange. Retrieved November 19, 2020.

Comments and Ratings (13)

tran nhan

merci bcp

xinyu xu

peng yin

I want to know why my CVX cannot call the partialtranpose function as a constraint to solve a semidefinite programming problem.



Liu Changhai

great helpful for me

Lee Jackee

sorry forget give you a A!

Lee Jackee

Thank you very much!It's really helpful for me!

Konrad Walus

Excellent work Geza!!

Gustavo Rubin

very good

jiangmin zhang

quite powful!

Amir Tavala

I really need it. I hope to see the newer version soon.

Shawn Hu

It is timely for a freshman to find it!

MATLAB Release Compatibility
Created with R2020b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!