Quantum toolbox in Matlab

42 次查看(过去 30 天)
Hi,
I noticed that there is a fresh Quantum Toolbox since Matlab 2014b. Is there any introduction or manual to this toolbox? I am a quantum physics theorist, have developed some packages for simulating quantum systems, and would like to know what Mathworks is doing on this toolbox. Could it be an open-source project from Mathworks?
Thanks,
Qi

采纳的回答

Philip Caplan
Philip Caplan 2015-4-17
Which Quantum Toolbox are you referring to? MathWorks is not currently developing a Quantum Toolbox. Perhaps you are referring to a third-party package such as: http://qo.phy.auckland.ac.nz/toolbox/
  2 个评论
Xiaodong
Xiaodong 2015-4-18
You could be right. When I run ver in matlab, I got
Quantum Toolbox Version 0.10
That could be the QOToolbox I have installed by myself many years ago. It may not be from MathWorks. Sorry for the confusing.
Noah Prisament
Noah Prisament 2023-11-28
MathWorks now has a Quantum Computing Support Package! You can check out and download the support package here: https://www.mathworks.com/matlabcentral/fileexchange/125425-matlab-support-package-for-quantum-computing (or through Add-On Explorer) and you can look further into its capabilities here: https://www.mathworks.com/help/matlab/quantum-computing.html.

请先登录,再进行评论。

更多回答(2 个)

Mohammed Al-Mahammedi
CZ gate in matlab
  3 个评论
Mohammed Al-Mahammedi
移动:Steven Lord 2023-11-29
these code i like to help
Walter Roberson
Walter Roberson 2021-12-4
移动:Steven Lord 2023-11-29
Your code has an infinite loop.
Your swap.m has
function [] = swap(i, j)
and then some logic that does not include a return statement. Then it has
% operate on the state vector with V
qc_v = V * qc_v;
swap (0,1);
measure (0,0);
measure (1,1);
but you are inside of swap() already, so that call to swap(0,1) would be a recursive call. That would lead to infinite recursion. You can only have a function call itself if the function does not always call itself: it must be able to detect that it has finished the work and return without having called itself.

请先登录,再进行评论。


idris
idris 2023-12-20
I think it appears mathworks is not focused on quantum

类别

Help CenterFile Exchange 中查找有关 Quantum Mechanics 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by