Wolfram Language Paclet Repository
Community-contributed installable additions to the Wolfram Language
Allows Wolfram Mathematica users to submit quantum circuits to quantum hardware through the Strangeworks platform
Contributed by: Stuart Flannigan, Strangeworks
This repo is designed to allow Wolfram Mathematica users to communicate with the Strangeworks platform. This allows users of the Quantum Computation Framework to submit jobs to gate based quantum hardware as well to a wider range of alternative compute providers, see full catalogue.
To install this paclet in your Wolfram Language environment,
evaluate this code:
PacletInstall["Strangeworks/Strangeworks"]
🥳 Success! You may view your job in the portal. 😅 Something went wrong? Find us in Slack!
Create quantum circuit with the QuantumFramework:
In[1]:= |
Out[2]= |
Authenticate with Strangeworks, user must put in their own apikey and resourceslug:
Display the currently available backends:
Submit job to the ibm simulator. To run on hardware simply change the backend name:
Can then also check on the status of your job:
In[3]:= |
And also the returned results:
Plot results:
Wolfram Language Version 13.1