qiskit-swift icon indicating copy to clipboard operation
qiskit-swift copied to clipboard

Outdated protocols and Qiskit version

Open juanKme opened this issue 4 years ago • 0 comments

I have built and compiled the project via Xcode version 11.5 (11E608c) after "converting" the project to Swift 5 with no actual changes to the code according to the notifications of such IDE.

The "QuantumEmoticon.playground" and "QisSwiftDeveloperTutorial.playground" files had run with no success; they post to the console the following alert since no execution can be achieved:

Print qasm for circuit ...
...
(circuits set up data)
...
Invalid response data

After searching the documentation and information for the Qiskit project, I found that the url for the IBMQ Experience site was wrong/outdated; so I modified the following definition:

var testurl = "https://quantumexperience.ng.bluemix.net/api/"

to the next updated line:

var testurl = "https://auth.quantum-computing.ibm.com/api"

however, now this is the error message posted to the console:

Print qasm for circuit ...
...
(circuits set up data)
...
Response status: 404:0: Cannot POST /users/loginWithToken

I have input my IBMQ token, which is working via web Jupiyter notebooks but not via Xcode. I'm not sure if this is a bug or just outdated protocols. I need help troubleshooting this project.

Are there any plans for updating and keeping alive this sub-project and port of Qiskit for use with Swift? I would like to contribute to this project if so.

juanKme avatar Jun 06 '20 18:06 juanKme