Welcome to Strangeworks! Quantumcomputing.com gives you access to a wide spectrum of quantum computing resources from simulators to actual quantum hardware you can use to do computation in a completely new way. Here are a few of the features that make Strangeworks a powerful portal into the world of quantum computing:
- We support a constantly growing set of quantum frameworks.
- Connect to a supportive community of scientists and engineers working in the field.
- Lock your project to a version of the Strangeworks library and keep it working as expected in a rapidly changing field.
- Quickly view results from all your previous experiments.
In this guide, we are going to walk through the basics of using our platform and get you ready to develop code for the future of computing. Enough chitchat, signup or log in and follow along with this quick guide to begin using Strangeworks!
Welcome to your Strangeworks dashboard! The dashboard is your portal to the Strangeworks platform and is a great place to kick off your quantum computing adventure. Let's take a quick tour of the dashboard:
- A: Nav bar, access your posts, projects, library and help.
- B: Project section. This is where you will find your list of projects.
- C: Important updates will show up here. This is also where you can go to give us feedback.
- D: Community Q & A from Stack Exchange
- E: Newsfeed
We will focus on the project section, section B, for this walk-through. Click the "Create your first project" banner.
Create a Project
A Strangeworks project, like any standard coding project, is simply collection of files and folders. On Strangeworks these files are your quantum programs, circuits and algorithms that will make use of a few of the additional dimensions of computing power the universe has made available to us. These arcane codes of quantum lore will be written in the classic tongue (qasm) or the vernacular (regional python dialects). Once loaded into a Strangeworks project these quantum programs will be ready to be run on a simulator or quantum hardware provided by our numerous partners.
Let's get started with an example from our community library. Click the Library icon in the left side navigation menu so we can find a simple project to clone.
Here you can navigate our library of posts. We have created a number of posts, but you can contribute posts as well. On the left are several filters you can use to find posts of interest. For now we are going to take a look at the "Getting Started -- Bell State" post. You can search for it or just get there from here:
This post is a great place to start out. For now lets clone the project on the right by clicking on the "Run Code" button.
This will copy all the files associated with the project you are cloning into your workspace. From there you will be able to make changes and experiment on your own copy of the project.
Working With Projects
Once we clone a project we can view the project files, make modifications, and run project code. In the project view shown above, look for the list of files. View the project code by clicking on the
We are now in the code editor, editing some quantum code! For this project you can read more about the code in the README.md.
Now that we have some code in front of us, let's run it. Click the "Run Code" button.
From the results, we get a pile of information about our run. At the top line, we can see a success or failure (green check good, red minus bad), we can see how long the run took.
The next section, the gatemodel run request, shows us the information about the run. In this case, we can see that the run is complete, the framework was qiskit, the compute resources came from Strangeworks, the backend was Qasm Simulator v 0.7.2 and we ran for 100 iterations. Execution parameters are listed below that.
Under the gatemodel run request is the actual quantum circuit from the simulation.
Further down in the results we see a histogram of all the measurements over the course of 100 iterations.
The results of this run are available in the results list on the right. As you do more runs you will be able to go back and view the results of previous runs by selecting them from this column.
Now you are a quantum developer with some pretty powerful tools for getting started with many of the most advanced frameworks around for doing quantum computing. There are a few places to go from here: