Start your Quantum Journey with Azure Quantum

This post has been republished via RSS; it originally appeared at: New blog articles in Microsoft Tech Community.

 Quantum physics teaches us that we can simultaneously exist in many places, under certain conditions.” 


Meg_3_0-1631000259955.jpeg   

Hello, I am Megha Pandey . I am a computer science engineering student and a Beta Microsoft Learn Student Ambassador who loves to explore new paths in Quantum computing as part of the Microsoft Learn Student Ambassadors Emerging Technology League.  

  

It has really been the most fascinating topic in physics and yet amazing when I call it as “A game of probabilities” adding some more interest in your learning journey.  

Quantum Computing is one of the emerging technologies. What if I tell you that a quantum computer does not work on classical bits! That is how we learn about quantum, a game of probabilities with qubits. You must have thought of a computer that can really solve the most complex question three million times faster than a classical computer.  

We can imagine using the quantum theories in a computer and then producing something called “super quantum computers.” 

                                   

Meg_3_1-1631000259968.jpeg

 

Just imagine a situation where you are playing with your friend and suddenly your most expensive android fell, now you don’t know whether the screen is damaged or not until you pick it up from the floor! (Calling it a Schrödinger’s Phone).  

 

It’s easy to understand the quantum principle once you get to know about Bra-Ket notation (also called Dirac notation) where the inner product two-states are something like  ϕ | ψ ⟩ bracket as Bra- Ket. 

    

Learning about Quantum principles is yet the most necessary thing, especially about: 

  

Superposition: A state between two bits ψ ⟩ = α |0〉 + β |1〉, Where α and β are kind of like probabilities with the minor difference that they are complex numbers. 

 

Meg_3_2-1631000259958.png

 

Entanglement: quantum states of two or more objects must be described with reference to each other (just think of a pen and a piece of paper). 

 

By the time you learned so much about quantum computing, let me introduce you to Quantum Inspired optimization, Quantum-Inspired optimization (QIO) takes state-of-the-art algorithmic techniques from quantum physics and makes these capabilities available in Azure on conventional hardware, and callable from a Python client. You can use QIO to solve problems with hundreds of thousands of variables, combined into millions of terms, in a few minutes, with this easy-to-consume Azure service. Let’s understand this with some simple examples where you to choose the best thing at a low cost among the 62,000 cars available in the showroom, QIO would help you out with these certain things yet on a large scale.  

  

Try to relate the above example with the following points: 

 

  • Find a solution faster than other optimization techniques for a fixed use case and   fixed quality of solution. 
  • Find a higher quality solution than other optimization techniques for a fixed problem and fixed amount of time. 
  • Use a more realistic model than other optimization techniques by extending the problem to consider more variables.  

Let’s gain some practical knowledge with QDK: 

1) Assuming that you have installed Visual studio Code, let’s install Microsoft Quantum Development Kit for Visual Studio Code  

2) In Visual Studio Code, on the View menu, select Command Palette. 

     Enter Q#: Install project templates. The templates are installed successfully once the pop-up window appears on the bottom right corner: 

          Install Q#: Install command line project templates. 

                                                   AND 

 Learn more about how to Install the QDK for Visual Studio Code 

 

  1. On the View menu, select Command Palette. 
  1. Enter Q#: Create New Project. 
  1. Select Standalone console application. 
  1. Select a directory to hold your project, such as your home directory. Enter quantumgates as the project name, then select Create Project. 
  1. You can see two files as Program.qs and another with your project name quantumgates.csproj 

Meg_3_3-1631000259967.png

Your first project is ready to run: 

 

Now you can open a terminal and run the code below: 

 

        >> dotnet run  

 

And you will see the output as 

             Hello quantum world! 

 

 

Congratulations! Your first project is complete, now you and learn more and try here with:   

Quantum computing foundations learning path on Microsoft Learn

 

Quantum.PNG

 

So far, I have learned a lot of things as a beginner from quantum entanglement to superposition and really hope to learn more with Azure quantum. Azure is taking the world and it is no doubt that even we can use it for in quantum development. 

 

The best part of learning quantum with Azure is that you get the best platform of your choice to run your applications. 

 

I worked on Quantum Labs but with a cloud solution is yet the most fascinating thing I would have heard.  There are plenty of resources through which you can learn quantum and find a state between 0 and 1. Just imagine there are so many numbers in between this 0 and 1, quantum is just an approach to solve those world’s toughest problems that you may seem impossible.  

 

Want to try more? Create your first Azure Quantum workspace  

 

It’s amazingly simple to go to the Azure portal. If you don't have a Azure Subscription and your a student you can get an Azure For Student Subscription which offer lots of free services and $100 of Credit. 

 

And follow these steps: 

  •     Go to the create resource and type Azure Quantum. 
  •     Click on create and the fill out the form   

    

Meg_3_4-1631000259970.png

 

  • Choose the provider, here I choose Microsoft quantum solution provider for my workspace.  

 

Meg_3_5-1631000259971.png

 

  • Click on create and wait till your space is getting ready. 

  

Meg_3_6-1631000259972.png

 

Congratulations again! You created your first Azure Quantum Workspace!  

 

 

REMEMBER: these articles are REPUBLISHED. Your best bet to get a reply is to follow the link at the top of the post to the ORIGINAL post! BUT you're more than welcome to start discussions here:

This site uses Akismet to reduce spam. Learn how your comment data is processed.