QUBIT4MATLAB :
MATLAB PACKAGE FOR QUANTUM INFORMATION/
QUANTUM MECHANICS BY GEZA TOTH
This program package helps modeling spin chains,
qubit registers, etc. according to non-relativistic
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.
Usage: Create a directory with the name QUBIT4MATLAB.
Copy the routines into it. Then, using the "Set Path"
menu item of the "File" menu, setup MATLAB such
that it looks for commands in this directory.
If you use it for your research, please cite it as
G. Toth, Comput. Phys. Comm. 179, 430 (2008).
For the list of functions please write
help qubit4matlab
For examples please see
example1
example2
example3
Guide book is available at
http://dx.doi.org/10.1016/j.cpc.2008.03.007
(only with subscription to CPC)
http://uk.arxiv.org/abs/0709.0948
http://arxiv.org/abs/0709.0948
Commands added after the version above:
su2, BES_Breuer, maxppt, optwitness, example_maxppt,
example_optwitness + changes in proj_sym, proj_asym,
smolinstate, schmidt
Licence:
bsd.txt
Please send bug reports to
toth@alumni.nd.edu
with the subject
qubit4matlab
----------------------------------------------
History of versions:
QM versions:
V1.0 12 Apr 2005
V1.1 14 June 2005
keep/remove: bug corrected
new functions for qudits
new functions for spin chains
Name changed to QUBIT4MATLAB:
QUBIT4MATLAB V1.0 1 Sept 2005
nm: bug corrected
QUBIT4MATLAB V1.1 23 Sept 2005
example1/2/3 added
addnoise: added
negativity: added
ising_free: small bug corrected
QUBIT4MATLAB V1.2 26 Jan 2006
mineig: added
maxeig: added
spmqubitop: name changed to mqubitopsp
printv: bug corrected (did not work correctly for complex
coefficients.)
qrvec: added
qrproduct added
interact added
interactsp added
twirl,twirl2 small bug corrected (the description did not fit
what the routine was doing)
concurrence added
realign added
QUBIT4MATLAB V2.0 02 Oct 2006
qrvec name changed to rvec
qrproduct name changed to rproduct
runitary added
rdmat added
grstate added
thstate added
ising added
isingp added
spising added
spisingp added
heisenberg added
heisenbergp added
spnnchain added
spnnchainp added
coll added
spcoll added
spnnchain added
spnnchainp added
splattice added
splatticep added
spsising2Dp added
spinteract added
ising_classical_ground added
xy_classical_ground added
bra added
braket added
ex added
swapquidts added
shiftquditsleft added
shiftquditsright added
reordervec added
reorder more efficient with large state vectors
(>10 qubits); can use sparse matrices;
does not use dec2base for counting but
uses a faster method.
spreordermat added
keep Before keep(rho,[1 2]) and keep(rho,[2 1])
gave the same result. Now they give results
which are permutations of each other.
(qubit 1 and qubit 2 are exchanged)
decompose faster since does not use dec2base for counting
twirl works for qudits
twirl2 works for qudits
quditop added
spquditop added
twoquditop added
sptwoquditop added
printv treshold can be given as a second parameter
mestate added
mmstate added
mqubitop removed: obsolete; use quditop and twoquditop
U_CNOT added
U_H added
concurrence added
QUBIT4MATLAB V3.0 06 October 2007
maxsymsep bug in second part of search repaired
(it did not reach the maximum, just a value close to it)
va added
contents typos corrected
smolinstate added
swapqudits bug corrected; did not work correctly for qudits,
only for qubits
addnoise works also for qdits for d>2
trnorm added
maxsep works now also for quidts with dimension larger than 2
maxsymsep works now also for quidts with dimension larger than 2
mrealign added
ccnr added
proj_asym added
proj_sym added
BES_Horodecki3x3 added
BES_Horodecki2x4 added
BES_UPB3x3 added
orthogobs added
keep works for qudits
maxsep parameters of the numerical search can be set
by an extra argument
maxsymsep parameters of the numerical search can be set
by an extra argument
maxbisep parameters of the numerical search can be set
by an extra argument
maxb parameters of the numerical search can be set
by an extra argument
optspinsq added
QUBIT4MATLAB V3.01 10 September 2007
Some typos in help text are corrected.
QUBIT4MATLAB V3.02 12 October 2007
maxsymsep bug concerning parameter setting corrected
(default parameter set was not possible to overwrite)
maxsymsep Gives also back the state giving the maximum.
example3 improved
QUBIT4MATLAB v3.03 25 April 2008
decompose help text corrected
keep_nonorm added
QUBIT4MATLAB v4.00 25 May 2009
proj_sym works for the multi-qubit case
proj_asym works for the multi-qubit case
su2 added
BES_Breuer added
maxppt added
optwitness added
example_maxppt added
example_optwitness added
QUBIT4MATLAB v4.01 7 July 2009
smolinstate normalisation is corrected (state was not normalized to trace=1)
optwitness modified to work for slightly larger systems
schmidt slighly changed: before it gave back the _square_ of the
schmidt coefficients, no it gives back the
coefficients themselves
changing from GPL to BSD license
没有合适的资源?快使用搜索试试~ 我知道了~
量子计算QUBIT4MATLAB4.01
共116个文件
m:114个
txt:2个
需积分: 18 34 下载量 2 浏览量
2018-09-09
21:33:59
上传
评论 2
收藏 61KB ZIP 举报
温馨提示
量子计算的matlab例程:QUBIT4MATLAB4.01。量子计算初级开发者学习入门材料。
资源推荐
资源详情
资源评论
收起资源包目录
量子计算QUBIT4MATLAB4.01 (116个子文件)
contents.m 8KB
decompose.m 4KB
printv.m 2KB
optwitness.m 2KB
twirl.m 2KB
maxbisep.m 2KB
maxsymsep.m 2KB
twirl2.m 2KB
maxsep.m 2KB
maxppt.m 2KB
optspinsq.m 2KB
rdmat.m 1KB
remove.m 1KB
pt.m 1KB
reordervec.m 1KB
ising_ground.m 1KB
reordermat.m 1KB
pt_nonorm.m 1KB
BES_Breuer.m 1KB
keep.m 1KB
spreordermat.m 1KB
ising_thermal.m 1KB
paulistr.m 1KB
reorder.m 1KB
keep_nonorm.m 1KB
splattice.m 1KB
splatticep.m 1KB
example3.m 1KB
maxb.m 1KB
negativity.m 1KB
twoquditop.m 1KB
spising.m 1KB
spisingp.m 1KB
orthogobs.m 1020B
mrealign.m 1020B
ising.m 1016B
isingp.m 970B
proj_asym.m 959B
example_optwitness.m 926B
rproduct.m 917B
quditop.m 912B
proj_sym.m 875B
shiftquditsright.m 861B
runitary.m 849B
shiftquditsleft.m 848B
rvec.m 834B
spcoll.m 824B
spnnchainp.m 821B
spising2Dp.m 804B
sptwoquditop.m 790B
singlet.m 789B
heisenberg.m 788B
heisenbergp.m 785B
overlapb.m 782B
spquditop.m 779B
example_maxppt.m 771B
spinteract.m 767B
swapqudits.m 763B
interact.m 738B
coll.m 736B
nnchainp.m 732B
example2.m 718B
rstate.m 702B
spnnchain.m 686B
gstate_stabilizer.m 679B
cstate.m 673B
xy_classical_ground.m 660B
dstate.m 659B
nnchain.m 600B
gstate.m 600B
su3_alternative.m 593B
example1.m 584B
mmstate.m 574B
va.m 572B
qvec.m 566B
ising_classical_ground.m 562B
qeye.m 556B
su3.m 542B
ex.m 532B
addnoise.m 525B
ising_free.m 516B
BES_UPB3x3.m 502B
realign.m 477B
BES_Horodecki3x3.m 472B
BES_Horodecki2x4.m 469B
wstate.m 455B
ghzstate.m 447B
su2.m 417B
qsize.m 398B
ketbra.m 382B
nm.m 363B
schmidt.m 355B
smolinstate.m 352B
ketbra2.m 341B
maxeig.m 339B
mineig.m 339B
ccnr.m 337B
braket.m 324B
pkron.m 317B
concurrence.m 310B
共 116 条
- 1
- 2
资源评论
luantian0417
- 粉丝: 3
- 资源: 16
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功