Questions tagged [matlab]

The tag is used for questions related to MatLab application in quantum computing.

MatLab is one of the most widely used programs for scientific computation and simulations. It offers many tools including optimization, machine learning, statistics, finance maths, signal processing etc.

Because of the capabilities mentioned above, MatLab can be used in quantum computing as well, mainly for simulations of quantum computers.

7 questions
5
votes
1 answer

Semi-definite program for smooth min-entropy

The conditional min-entropy is defined as (wiki): $$ H_{\min}(A|B)_{\rho} \equiv -\inf_{\sigma_B}\inf_{\lambda}\{\lambda \in \mathbb{R}:\rho_{AB} \leq 2^{\lambda} \mathbb{I} \otimes \sigma_B\} $$ And the smooth min-entropy is defined…
QuestionEverything
  • 1,837
  • 13
  • 23
1
vote
1 answer

Finding the violating bound of CHSH using the first level of NPA hierarchy on MATLAB

I've been trying to implement the NPA hierarchy in MATLAB using CVX library. To start off with, I thought of finding the bound of CHSH using the first level of NPA hierarchy. I represented my gram matrix as an addition of 2 matrices, One consisting…
1
vote
2 answers

Is there a way to map the Cu3 gate to represent a unitary matrix whose elements are complex in nature

I have this 2*2 unitary matrix one looks like U =[ -0.2840 - 0.5319i, -0.0000 - 0.7978i; -0.0000 - 0.7978i ,-0.2840 + 0.5319i] I want to represent this unitary matrix by a CU3 gate which looks like Can someone suggest a faster way to determine…
1
vote
1 answer

Quantum Image Processing Application

I have been reading about Quantum Wavelet transform and finding some problems. One of its application is that image is given as input and same image is retrieved as output with reduced size(Please correct me if I am wrong). I am able to find the…
Manu
  • 503
  • 3
  • 11
1
vote
0 answers

Linear and logarithmic constraint in semidefinite programming

I am trying to minimize the largest component of a vector ${\bf x} = (x_1, x_2, x_3, x_4)$, where $x_1 \ge x_2 \ge x_3 \ge x_4$, such that it satisfies a set of linear inequalities given by ${\bf A} {\bf x} \le {\bf b}$. Furthermore, I want that,…
QuestionEverything
  • 1,837
  • 13
  • 23
1
vote
1 answer

Access IBM Q processors from MatLab

Qiskit allows a user to directly access IBM Q quantum processors (both real ones and simulator). Each user is given a personal code which is entered into source code and serves as a login to the IBM Q platform. My question is: Is there a similar…
Martin Vesely
  • 15,398
  • 4
  • 32
  • 75
0
votes
1 answer

Can my MatLab code be used as a good simulator of a quantum computer?

I have tried to program universal quantum computer simulator in MatLab. Please find a code here: https://www.mathworks.com/matlabcentral/fileexchange/73035-quantum-computer-simulator Can be this code used as a good simulator of quantum…
Martin Vesely
  • 15,398
  • 4
  • 32
  • 75