Code a REAL Quantum Computer for FREE! | Getting Started Qiskit Demo

Поделиться
HTML-код
  • Опубликовано: 4 сен 2024
  • I'm going to show you how to write code on a REAL quantum computer for FREE! A quantum computer that is cooled down to near ZERO Kelvin temperatures, colder than SPACE. We will get access to a quantum computer and code “Hello Quantum World” in quantum assembly language OpenQASM and the Qiskit quantum information software development kit. Quantum programming languages are everywhere now!
    Join this channel to get access to perks like voting on my next video and behind the scenes!
    / @anastasia-marchenkova
    Or sign up for the same perks on Patreon:
    / amarchenkova
    Also comment down below what other quantum and non-quantum coding tutorials and languages you're interested in!
    My favorite book for beginners to coding and quantum computing (covers Cirq code, not Qiskit or OpenQASM):
    amzn.to/30TynPI
    Code from this tutorial:
    github.com/ama...
    IBM Quantum Experience: quantum-comput...
    Q gates: quantum-comput...
    Qiskit Textbook: qiskit.org/tex...
    OpenQuantum Assembly language paper: arxiv.org/abs/...
    Follow me on instagram for behind the scenes!!!
    / amarchenkova
    Disclaimer: Affiliate links may be used in my recommendations. If you buy through my links I provide, I may receive a portion of the sale amount. This doesn't change the price you pay. Thank you so much for watching my videos and supporting my channel!
    #qiskit #openqasm #gettingstartedquantum

Комментарии • 63

  • @josefftan1203
    @josefftan1203 4 года назад +14

    Wow, we're getting free quantum computing education for freeee. Tytytyty.

  • @ShankhanilGhosh
    @ShankhanilGhosh 3 года назад +1

    Your channel is a goldmine. When I wanted to know more about quantum computing, you're my goto channel! Amazing content simply told!
    Thank you

  • @smithtrivedi7971
    @smithtrivedi7971 4 года назад +4

    That was a super good explanation. I'm fine with your pace. I have a deep love for Quantum physics and programming/problem solving and I too articulate fast in the excitement of sharing my knowledge with them. ❣️. Keep going 👍

  • @timetostudy6443
    @timetostudy6443 3 года назад +2

    Hope to see more tutorials like this. Thank you so much!

  • @quentinwach
    @quentinwach 4 года назад +3

    Nice introduction! - At first, I kinda thought the clicking sounds were from radioactive decay... but it's just the necklace dangling against the mike, isn't it. ISN'T IT?

    • @quentinwach
      @quentinwach 4 года назад

      ​@@Anastasia-Marchenkova :D Seems to be a common story! I love it! - It took us some time to find a functioning Geiger-Müller counter that wasn't broken like that as well when we were experimenting with radioactive material in my first year.

  • @saibharath5510
    @saibharath5510 4 года назад +2

    wow, it really helped even when one is already familiar with qiskit. Thank you. Much appreciated.

  • @himanshutalegaonkar2522
    @himanshutalegaonkar2522 3 года назад +3

    Woah that's so much of quality information in one video !! thanks alot !! It would be great if you start a quantum computing tutorial :)

  • @giancarlovizhnay6073
    @giancarlovizhnay6073 3 года назад

    Your made it sound so simple, thank you

  • @submitter1985
    @submitter1985 4 года назад +1

    Awesome introduction. Super fast, but there's a pause button, so who cares?! It's been over a decade since I finished my physics degree, and I've barely looked at it since. Your channel and your other social media have been inspiring me to relearn all that I've forgotten, and quantum computing seems like a perfect little niche where to apply it. Thank you!

  • @prantikdeb3937
    @prantikdeb3937 4 года назад +1

    Few weeks back following your channel for quantum programming... honestly great videos and explanation... please make videos on Quantum Machine Learning and QNN...make more videos on qiskit and Tensorflow Cirq...

    • @prantikdeb3937
      @prantikdeb3937 4 года назад

      Actually first video I saw your channel was Books of Quantum Machines for Software Engineers.... Please make more videos on Quantum Machines concepts for ML/DL engineers or Software Engineers...

  • @XX-nf6kj
    @XX-nf6kj 2 года назад

    I really like that your video's are in depth and provide concrete information! Subscribed!

  • @debankurbasak3562
    @debankurbasak3562 3 года назад

    Can you create some video series teaching quantum computing from scratch the way you explain is really good. And both quality and content is great.

  • @abbyblancett4070
    @abbyblancett4070 3 года назад +1

    I'd love to look at tensor flow quantum for QML

  • @BramCohen
    @BramCohen 4 года назад +2

    So these are mostly different ways of representing the same types of quantum circuits, and quantum circuits are a bit different from classical circuits in that instead of having separate inputs and outputs they munge together the inputs in defined ways while maintaining the same number of qubits? Is there a good for software people explanation of what the states of qubits are and how they get munged together by the operations, basically along the lines of how you would write a simulator? Wikipedia is clear-ish on the amount of state necessary to represent each qubit is 2^N where N is the total number of qubits but not super straightforward after that.

    • @BramCohen
      @BramCohen 4 года назад

      @@Anastasia-Marchenkova Yes that's exactly what I'm wondering about. As someone who learned assembly before C and still thinks of C as glorified assembly to this day the from-the-base-metal approach is much more intuitive to me.

  • @giannispastellas5344
    @giannispastellas5344 3 года назад

    Greatt video!!
    I have one question though.
    If I run a circuit in the notebook in the Quantum Lab and the job is queued,
    and the backend is pretty busy(that means i might be waiting even days), where the results
    will appear?(I run in a cell the command job_exc = backend.run(qobj) , but it seems to be running
    do i have to keep the tab open until its done??)
    If you can answer this, it will be very useful. Thanks again for the great video.

  • @marcoantonioarmentaarmenta1350
    @marcoantonioarmentaarmenta1350 3 года назад

    Really cool tutorial!!! I hope you find the time for more qiskit tutorials

  • @Nohim2YS
    @Nohim2YS 3 года назад

    Would like a AWS Braket tutorial as well if you can. Which one would be cheaper to use for learning purposes?

  • @AshrafVideos
    @AshrafVideos 4 года назад

    very thanks for your, very very fast lecture, i wait the more advanced one but I hope it will be in slow motion.very thanks

    • @AshrafVideos
      @AshrafVideos 4 года назад

      @@Anastasia-Marchenkova you were in superposition and I tried to be entangled with you but I couldn't. Thanks

  • @sergeyartyukhin6155
    @sergeyartyukhin6155 3 года назад +1

    Very helpful and clearly understandable! Спасибо)

  • @VikramKumar-io8so
    @VikramKumar-io8so 3 года назад

    Hello, is math important for coding in quantum computer,if yes then which types of mathematics is very important for it?

  • @jedisct1
    @jedisct1 4 года назад

    This is absolutely fascinating. Great intro to programming for quantum computers! Just one tiny request... could you possibly speak a little bit slower? I know how much you are excited about quantum computing, but for non-native English speakers, it is a little bit difficult to follow your pace. Thanks!

  • @MGraczyk
    @MGraczyk 4 года назад

    Great content! Informative and easy to follow.

  • @Dr81a
    @Dr81a 3 года назад +1

    The quantum computer looks like a ceiling light

  • @tranhai8895
    @tranhai8895 3 года назад

    I'm not a coder or programmer, so I wonder what is the practical applications of quantum computer NOW?

  • @anilkumarsharma8901
    @anilkumarsharma8901 Месяц назад

    if you give easy access to personal laptop warmhole to quantum computer then millionds people are connected with it and quantum computer become cheaper and easy to use simple connectivity and simple programming usng ai like telling a syory then we can found that enormous breakthrough for almost every person of the world and got cheaper solutions for day todey problems

  • @matoflynn
    @matoflynn 4 года назад

    Thank you for this awesome resource! Really easy to follow :)

  • @anomikak1062
    @anomikak1062 3 года назад

    I have basic understanding of quantum physics and a very good understanding of low level classical programming. But... after several attempts at understanding even the basic H gate hello world example you show, i have failed to make the connections. I'm sure this was a great video but i would be lieing if i said i understood even 10%. The only thing i understood is that quantum computing uses different gates. So, i guess what i would really like now is a video that explains how these gates work compared to the binary gates i'm used too. And then maybe a follow up on that comparing traditional assembly code for a basic sort function, then recreate the sort function using quantum code. It feels like every scrap of info out there is either really basic just explaining superposition or highly complicated (as i found your video). I also don't understand the results of the Hello world example. it's 50/50. what does that mean in terms of an actual program. Hello world programs all print hello world on the screen. this hello world return 50/50 on the screen. i don't get it.

  • @BrandonDriver
    @BrandonDriver 4 года назад

    Excellent video, awesome editing too.

  • @Shamansdurx
    @Shamansdurx 3 года назад

    Thank you.

  • @gokulsai901
    @gokulsai901 4 года назад

    Woooohhh I have been working on it coding it on a simulator and then on the actuall quantum computer...I always wondered why probabilities vary a lot so a c-not applied to a nearer qubit is very likely optimal!!
    But... actually when u try to simulate Bernstein Vazhirani algorithm u would want to c-not which ever bit u want it being one to the output q bit so is there a way to decrease the coherence??

    • @gokulsai901
      @gokulsai901 4 года назад

      @@Anastasia-Marchenkova 🤓🤓keep making such videos and hope you grow more and more with such quality videos actually when I see other videos they just keep beating around the bush you went straight to the point!! Thats something I like in your video... would like to see another video on quantum computing!!

  • @kalyan5968
    @kalyan5968 3 года назад

    Hello mam i just started learning quantum computing can you do a video on creating a coin toss game .

  • @ToniRuottu
    @ToniRuottu 4 года назад +1

    Could you make a down to earth video about Grover's algorithm? Most videos describing it seem to jump straight to mathematics. It would be nice to see a concrete example of something like searching a phone number by name from a list of five [name, phone] pairs. Perhaps names could be one letter and phone numbers could be just one number to make it fit into available qubits. So far the best explanation I encountered was given by Stack Overflow user Exeko although I am not sure if it is correct. See stackoverflow.com/questions/48750202/quantum-computing-grovers-algorithm/49038472#49038472

  • @muzwer1125
    @muzwer1125 3 года назад

    hey could you post the slide pdf ??
    pls & thnx if ya can 😊
    P.S. - This stuff is amazing!

  • @henleycheung3615
    @henleycheung3615 3 года назад +1

    thanks , and do you think IBM will outrace others in Quantum Computer eventually ?

    • @LucaCrippa88
      @LucaCrippa88 3 года назад +1

      IBM has the best and most complete open source software (qiskit), free available real QCs, a huge community of developer, programs to become Qiskit Advocates (experts), a Quantum Network to cooperate with customers with the largest available quantum computers. Oh, we are talking of digita quantum computers, not quantum annealers (analogic) that can solve only optimization problems. IBM’s QCs aim to be the real universal QCs.

    • @henleycheung3615
      @henleycheung3615 3 года назад

      @@LucaCrippa88 thanks Luca

  • @rushikeshladke8337
    @rushikeshladke8337 4 года назад

    I would like to know other quantum platform.

  • @philchia4764
    @philchia4764 4 года назад

    does tensor flow work with Quantum?

  • @TechiiEngineer
    @TechiiEngineer 3 года назад

    👍

  • @hashtagtrends9886
    @hashtagtrends9886 4 года назад

    Thankyou!

  • @helnathomas2000
    @helnathomas2000 2 года назад

    ❤️

  • @henleycheung3615
    @henleycheung3615 4 года назад

    Beautiful lady presents beautiful topics beautifully. Thanks !

  • @g.vsrinivasreddy3198
    @g.vsrinivasreddy3198 3 года назад

    hey quantum queen when are u releasing your own quantum course

    • @macdeep8523
      @macdeep8523 3 года назад

      @@Anastasia-Marchenkova Cirq

  • @lolguy-x9n
    @lolguy-x9n 3 года назад

    man. where is let A = 2

  • @FilipeOliveiraa
    @FilipeOliveiraa 4 года назад +2

    1337 timing ahah

  • @danielprytz
    @danielprytz 3 года назад

    Err whats that noise?

  • @quinn165
    @quinn165 4 года назад

    I DESTROYEEED THAT LIKE BUTTOn My ScreEn BroKE.

  • @11nocturn
    @11nocturn 4 года назад

    👏👏👏

  • @rashid5737
    @rashid5737 4 года назад

    cutting edge technology for free, this is what happened when you connected to passionate person.

    • @rashid5737
      @rashid5737 4 года назад

      @@Anastasia-Marchenkova I agree with you, as long as these machines are away from war mongers.

    • @rashid5737
      @rashid5737 4 года назад

      @@Anastasia-Marchenkova and many thanks for shearing with us, a beautiful lady with beautiful brain n heart.

  • @anilkumarsharma8901
    @anilkumarsharma8901 Месяц назад

    AI changed a simple story into a program and and this program is changed into quantum code so we easily use the quantum computer easily 😂😂😃😃🤣🤣

  • @anilkumarsharma8901
    @anilkumarsharma8901 Месяц назад

    Transforming a simple story into a quantum code program involves several steps. First, let's outline the story and identify its main elements. Then, we'll translate the story into a classical algorithm. Finally, we'll convert the classical algorithm into a quantum algorithm.
    Simple Story Example
    Let's consider a simple story:
    "Alice and Bob want to find out if they have the same favorite number between 0 and 7."
    Step 1: Translating the Story into a Classical Algorithm
    Alice and Bob each choose a number between 0 and 7.
    They compare their numbers to see if they are the same.
    Step 2: Classical Algorithm
    python
    Copy code
    def favorite_number_same(alice_number, bob_number):
    return alice_number == bob_number
    # Example usage
    alice_number = 5
    bob_number = 3
    print(favorite_number_same(alice_number, bob_number)) # Output: False
    Step 3: Quantum Algorithm
    To translate this into a quantum algorithm, we'll use quantum superposition and measurement. Specifically, we'll use a simple algorithm where both Alice and Bob encode their numbers into a quantum state, and then we measure to see if they match.
    We'll use the Qiskit library for this quantum computation.
    Quantum Algorithm Using Qiskit
    Import the necessary libraries.
    Initialize the quantum circuit.
    Encode Alice's and Bob's numbers.
    Measure the quantum state to determine if the numbers match.
    Here's how we can implement this:
    python
    Copy code
    from qiskit import QuantumCircuit, Aer, transpile, assemble, execute
    from qiskit.visualization import plot_histogram
    def encode_number(qc, number, qubits):
    for i in range(len(qubits)):
    if (number >> i) & 1:
    qc.x(qubits[i])
    def favorite_number_same_qiskit(alice_number, bob_number):
    # Initialize quantum circuit with 3 qubits and 3 classical bits
    qc = QuantumCircuit(3, 3)
    # Encode Alice's number on the first two qubits
    encode_number(qc, alice_number, [0, 1])
    # Encode Bob's number on the second and third qubits
    encode_number(qc, bob_number, [1, 2])
    # Measure the qubits
    qc.measure([0, 1, 2], [0, 1, 2])
    # Execute the circuit on a simulator
    simulator = Aer.get_backend('qasm_simulator')
    compiled_circuit = transpile(qc, simulator)
    qobj = assemble(compiled_circuit)
    result = execute(qc, backend=simulator, shots=1024).result()
    # Get the measurement results
    counts = result.get_counts(qc)
    return counts
    # Example usage
    alice_number = 5 # Binary 101
    bob_number = 3 # Binary 011
    counts = favorite_number_same_qiskit(alice_number, bob_number)
    print(counts)
    Explanation
    Initialization: We create a quantum circuit with 3 qubits and 3 classical bits.
    Encoding: We encode Alice's and Bob's numbers into the quantum circuit.
    Measurement: We measure the quantum state to see the results.
    Running the Quantum Code
    To run the above quantum code, you need to install Qiskit, which can be done using:
    sh
    Copy code
    pip install qiskit
    Then, you can run the code in a Python environment that supports Qiskit.
    Conclusion
    This approach demonstrates how a simple story can be transformed into a classical algorithm and then into a quantum algorithm using Qiskit. The quantum algorithm uses superposition and measurement to compare the favorite numbers of Alice and Bob.