Access IBM Q processors from MatLab

1

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 possibility in MatLab? In other words, is there any module/code in MatLab allowing to access IBM Q processors?

Martin Vesely

Posted 2020-04-30T21:44:42.040

Reputation: 7 763

you can try to create QASM files from MatLab... – draks ... – 2020-04-30T22:33:19.517

@draks... I am a little bit lost, do you mean to program a script generating QASM files? But how to download results from IBM Q. I am afraid that this cannot be fully automatic and some user influence is needed. – Martin Vesely – 2020-05-01T06:13:28.500

Oh yeah true, although the result might just be a vector. The question also is what/how you would like to compose something in MatLab? Do you want to give matrices (which would be nice)? – draks ... – 2020-05-01T21:42:41.263

@draks...I would like to use MatLab for controlling a work with quantum computer like in Qiskit, i.e. to feed data through MTL script, run an quantum algorithm on IBM Q then take the results and post-process them. – Martin Vesely – 2020-05-01T21:52:05.727

ok but what will be in your MTL script? A sequence of local rotations, CNOTs and so on? Or just some parameters like rotation angles that are applied at certain local operations, that are specified somewhere else (like a QASM file). Reading results back and do post processing sound like a good idea. user47787's I/F should do that... – draks ... – 2020-05-01T21:57:16.357

Yes, it is possible to do what I want through Python code connected with MatLab. I was just curious if is there any direct way, i.e. if MatLab has a toolkit for quantum computers programing. – Martin Vesely – 2020-05-01T22:01:20.363

1Don't of any. Put 500 bounty for writing the matlab addon! – draks ... – 2020-05-01T22:11:06.000

Answers

3

As far as I know, there is no MatLab library for the IBM quantum experience. It may be possible to call Qiskit from Matlab

user47787

Posted 2020-04-30T21:44:42.040

Reputation: 336