/r/QuantumComputing

Photograph via snooOG

Academic discussion of all things quantum computing from hardware through algorithms. Not the place for business speculation, memes, or philosophy.

All about Quantum Computing


Guidelines

  • 0. Civility & Respect are expected. Please report any uncivil conduct.
  • 1. No accounts less than 2 days old allowed to post
    • Not enough karma or new account - this is to protect from spam. Ignoring this rule will get you temporarily or permanently banned by the AutoMod.
  • 2. Career/education questions only allowed in weekly megathread
    • Questions that are about career/education advice and not quantum computing itself are only allowed in the weekly megathread. Please leave a comment there instead of making a full post.
  • 3. Posts must be high quality
    • Posts cannot just be a link or vague question, please write something original and high quality for people to read and discuss.
  • 4. Posts must be on-topic
    • All posts must be quantum computing related. No posts about market speculation, quantum hype articles, how you should find a career, memes, etc.
  • 5. No incoherent/crank posts
    • This includes quantum mysticism, discussions about consciousness, claiming you solved P=NP, clearly not knowing the basics that you are posting about, etc.
  • 6. No AI-generated content
    • This subreddit is for academic discussion, posts that are primarily or entirely the output of an LLM without significant human discussion are not allowed. This includes comments; responses that are clearly generated by an LLM will be removed.
  • 7. No excessive advertising
    • In general, advertising self-made tools, organizations, and content is not allowed on this subreddit. However, personal projects, open source tooling, or upcoming events may be allowed at moderator discretion. If you're unsure, send us a message via modmail.
  • 8. No investment speculation
    • This subreddit is for academic discussion of the scientific field of quantum computing. It is NOT the place to discuss market trends, corporate performance, or investment speculation. See r/investing or similar for investment advice.
  • 9. Discussions about blockchain or AI must directly relate to quantum computing
    • While quantum computing is interdisciplenary and intersects various facets of computer science, physics, and cybersecurity, this subreddit is only to be used for content directly relating to quantum computing. Posts that minimally connect to quantum computing such as "What does quantum computing mean for bitcoin?" will be removed unless there is sufficient substance relating to quantum computing in the post body.
  • 10. No memes or joke posts
    • This subreddit is for academic discussion. See r/QuantumMemes for jokes about quantum computing.
  • 11. Homework help
    • Posts asking others to complete homework assignments will be removed. Specific targeted questions about topics in quantum computing and how to better understand them (with homework as the motivation) are allowed on this subreddit.

    Other subreddits you may enjoy:


    Interesting Links


    Quantum Jobs Board

    Know of any great job sites relating to Quantum Computing? Message the Mods and we will add it here if the community deems it worthy.

    /r/QuantumComputing

    63,303 Subscribers

    1

    Weekly Career, Education, Textbook, and Basic Questions Thread

    Weekly Thread dedicated to all your career, job, education, and basic questions related to our field. Whether you're exploring potential career paths, looking for job hunting tips, curious about educational opportunities, or have questions that you felt were too basic to ask elsewhere, this is the perfect place for you.

    • Careers: Discussions on career paths within the field, including insights into various roles, advice for career advancement, transitioning between different sectors or industries, and sharing personal career experiences. Tips on resume building, interview preparation, and how to effectively network can also be part of the conversation.
    • Education: Information and questions about educational programs related to the field, including undergraduate and graduate degrees, certificates, online courses, and workshops. Advice on selecting the right program, application tips, and sharing experiences from different educational institutions.
    • Textbook Recommendations: Requests and suggestions for textbooks and other learning resources covering specific topics within the field. This can include both foundational texts for beginners and advanced materials for those looking to deepen their expertise. Reviews or comparisons of textbooks can also be shared to help others make informed decisions.
    • Basic Questions: A safe space for asking foundational questions about concepts, theories, or practices within the field that you might be hesitant to ask elsewhere. This is an opportunity for beginners to learn and for seasoned professionals to share their knowledge in an accessible way.
    0 Comments
    2025/01/31
    14:02 UTC

    11

    Is there any service that lets you run code on a real quantum computer, even if it’s just for one second?

    I’m currently writing quantum study code for learning purposes, and I’d like to test it on real quantum hardware rather than just a simulator. Even if it’s just for one second of actual quantum computation, I want to see it in action. Ideally, I’d like a setup where I can prepay, accumulate credits, and then have the service automatically stop once those credits are used up. Does anyone know of a service that offers this sort of pay-as-you-go or credit-based model?

    edited and add more contexts.

    I’m new to this field and I’m trying to figure out whether we’re currently at a stage comparable to designing a CPU instruction set, or if it’s more like developing an assembly language. For instance, IBM Qiskit helps you build quantum circuits, but I’m not sure if these circuits translate into something like an instruction set, or if they’re more like individual functions within a broader development framework.

    In the blockchain world, we can at least test things locally with tools like Ganache, Hardhat, or other test blockchains, but it doesn’t seem like there’s an equivalent, fully fleshed-out framework or infrastructure for quantum computing yet. Does this mean we’re still a long way off from having code that can be used in an actual production environment? Or is everything we’re doing now essentially theoretical or experimental at this stage?

    13 Comments
    2025/01/31
    06:44 UTC

    1

    Grover's Search Algorithm Noise

    When using grovers algorithm, how does noise appear in the output? random answers pulled from the dataset or is it answers that are similar to the one it was searching for?

    0 Comments
    2025/01/30
    19:52 UTC

    1

    I am coming from C / C#. Can I simply loop through a massive list and do a calculation using qiskit?

    I am coming from C / C#. Can I simply loop through a massive list and do a calculation using qiskit? the list is too long on a standard PC. I was wondering if that's something that could be done fairly quickly using qiskit? Can you point me in the right direction. Thanks so much!!

    10 Comments
    2025/01/30
    20:23 UTC

    1

    Project and essay ideas about quantum computing

    I am a high school student particularly interested in physics and math. I've decided to take part in something I would call a scientific exhibition and chosen quantum computers as a topic which was supported by my teacher. It is really rigorous and mostly for students in the last grades of high school (18-20 year olds, I am from central Europe and we have a bit different school system), so I need to work quite hard to compete with students who are older than me. However, I gained a lot of physics and math knowledge outside of school and that helps me a lot.

    The problem is that the work should consist not only from theoretical part, but should also contain practical results of our own observations and research in form of statistical analysis, computer program, machine or tool designed and created on our own etc. Than it all needs to be covered in an essay together with our theoretical knowledge. Its almost at the level of diploma thesis written by university students.

    My teacher has been out for quite some time now because of illness and that's why she doesn't really advice me on how to progress with my work. So far, I have written out all of the physics theory regarding quantum computing and its principles and also added some descriptions of the most recent discoveries in this field. What I need now is a good topic or a problem that I can solve with my skillset and limited access to real research (only our school lab and Quiskit from IBM).

    I have been experimenting with things like writing a code for breaking RSA (but I am clueless about its real benefit and functionality) or solving various math problems like generating a random numbers and so on (all using Quiskit). I need something that I can actually write a lot of things about and explain how it could be beneficial now or in the future. Using a Shor's or Grover's algorithm to solve some real life problem is a good example of that (but I have no idea where to find a problem it could be applicable for). It shouldn't require any tools that are out of the reach of us "mortals" and it would be great if it can be done in a shorter time frame (2 weeks max).

    I hope I have expressed everything in an understandable way and that this is the right place for posting this. My mathematical understanding is pretty good, but programming sometimes needs a bit of correction and help. I am not a native english speaker, so if there are any unclear things in this post just let me know.

    1 Comment
    2025/01/30
    19:36 UTC

    6

    Some newbie questions about how quantum computers works

    First, Is there any video with a practical demonstration/test of a quantum computer at work solving a problem and be explained for the normal people?

    How it is interconnected with other components and which are those?

    If it has a functional special software and how it works, like PCs have Windows?

    Is a QC connected to a normal computer interface to be used?

    How do you introduce the commands and the datas to solve problems, run some applications, etc ?

    Basically how it's the whole system architecture screwed together and the process of delivering the informations to the screen, in simple words?

    Is there a quantum company that is closer to deliver a practical and scalable QC to the world ?

    Thanks

    8 Comments
    2025/01/30
    18:59 UTC

    6

    Go to 1:35 seconds 👍🇺🇸🙏

    6 Comments
    2025/01/30
    17:45 UTC

    1

    Qibolab connecting to instrument

    Hello,

    I am new for doing quantum computing.I am trying to connect my instrument with my Qibolab program. To understand everything, I was starting to use the dummy Instrument. However, I still don't understand how I can connect my Platform directly to my dummy instrument.

    PS: I know I could use :

    create_platform("dummy")

    but this is creating me directly a dummy platform but my purpose is to connect the the dummy instrument to my platform, so that I directly can implement the real instrument to my platform.

    I would be thankful if somebody has an example code!

    0 Comments
    2025/01/30
    11:18 UTC

    24

    The Ultimate Quantum Algorithm Design learning platform is now LIVE on Steam!

    Quantum Odyssey is now LIVE on Steam! After six years of development, we’re proud to deliver the ultimate educational game for designing quantum algorithms. No formal background required.

    What’s inside:

    • Highly addictive, polished gameplay reminiscent of Zachtronics, with players logging 5+ hour sessions, many with over 40h on our 2 weeks-long closed beta.
    • Completely visual learning, a unique puzzle game: master linear algebra and bra-ket notation at your own pace, or skip straight to designing.
    • 50 training modules covering everything from quantum gates to advanced algorithms.
    • A 120-page interactive Encyclopedia so you’ll never need to alt-tab.
    • Infinite community-made content and advanced challenges, paving the way for the first quantum algorithm e-sport.
    • For everyone aged 12+, backed by feasibility studies proving anyone can learn quantum.

    Start your journey into the future of computing. Get Quantum Odyssey on Steam now!

    https://store.steampowered.com/app/2802710/Quantum_Odyssey/

    9 Comments
    2025/01/30
    08:58 UTC

    2

    Quantum Decoy fundamentals

    Hello people, I come here to ask about resources for learning about quantum decoy protocol, from superficial to a detailed understanding of it. Thank you so much!

    3 Comments
    2025/01/29
    12:49 UTC

    0

    Using data compression and loss function as error correction in quantum computing

    Hey,

    I thought about the concept of using data compression similar to a zip file as error correction in quantum computing. Keep in mind, I got no Phd or anything similar. English isn't my native language also...

    -------

    Let's say we have a large number of qubits in a superposition. We treat those like zeros in a file, those are easy to compress.

    If one or more qubit now drops out of the superposition, we treat those as ones. The more qubits fall out of superposition, the harder it is to compress the data.

    This in return creates a loss function. We can now use a machine learning network to try to minimize the loss.

    This approach has the following benefits:

    - Due to using only matrix multiplication, we don't lose the superposition of the qubits or rather, the stay in it until the end.

    - The machine learning network is able to capture non linear relations, meaning even if we don't understand all the underlying mechanism of the current backend, the network would be able to "capture" and "instill" those. This is kind of a workaround in regards to the need of understanding more in regards to quantum mechanics that we currently know.

    - If we run multible quantum experiments, we get a probability distribution, the same outcome after a forward pass of machine learning network. Someone should be able to figure out using statistics to connect both fields.

    -----------

    What do you think about this? Please let me know your thoughts and critic :)

    51 Comments
    2025/01/29
    07:46 UTC

    23

    What are some common misconceptions about quantum computing?

    29 Comments
    2025/01/29
    06:12 UTC

    0

    Does Deep Seek's approach to reasoning offer better opportunities for leveraging quantum computing than OpenAI's approach?

    It seemed that there were more optimization calculations required when I heard an explanation of the differences in their two approaches. I understand that quantum computing is still very early in development and that it is very good at large-scale optimization problems, which seems like what we have with their model. I am not a software developer. :-)

    2 Comments
    2025/01/28
    21:39 UTC

    4

    which quantum algos has the most Qiskit support and not too many deprecated libraries/classes?

    i'm trying to combine 2 algos together in code but there seems to be a couple deprecated libraries when i look at the documentations.

    3 Comments
    2025/01/28
    21:20 UTC

    5

    Qutip msolve and large hamiltonian

    I want to try to simulate a large Hamiltonian 2^n x 2^n using msolve, where n can be > 200. Is there any way/package that we can use so that H is stored as a sparse matrix or on HDD and that it can perform this memory extensive calculations? Time is not a big issue here

    8 Comments
    2025/01/28
    16:39 UTC

    0

    Grover’s search algorithm trimmed

    What is the significance of Grover's search algorithm for quantum computing and how does it benefit society as a whole (in theory)?

    1 Comment
    2025/01/27
    18:08 UTC

    0

    Quantum Decryption?

    As I understand it, qbits are neither 1 nor 0, but can occupy every option in between simultaneously. My question is, how does this lead to the eventual possibility of decrypting RSA? When I think of all digits of the encryption key being tested simultaneously, it reminds me of the Infinite Monkey Theorem. How would a quantum computer be able to try every digit simultaneously, and also be able to decide what the correct numbers are? Is it just throwing everything at the wall until something sticks? I could elaborate on this question if needed, but I suspect that my theories are incorrect and will make things more complicated.

    12 Comments
    2025/01/27
    13:52 UTC

    1

    MIT iQuHack: Advice on networking?

    Hey y'all! I'm participating in this year's iQuHack Quantum Computing Hackathon. At the end of the first day, there's a Dinner & Networking event. I'm guessing the mentors from the various different companies like qBraid, D-Wave etc. will be present and available to chat with.

    I want to make the most of this opportunity, and getting to know these mentors seems like it could help a lot in the future, perhaps with getting an internship or otherwise entering the industry.

    To people who've participated before, what was the networking event like, and do you have any advice for networking effectively or things to do/not do?

    Thanks!

    1 Comment
    2025/01/27
    06:19 UTC

    10

    Does one need to be a computer programmer with knowledge of a+ or other computer languages to understand quantum....

    computing?

    17 Comments
    2025/01/27
    05:40 UTC

    70

    Found this on a whiteboard. I'm not the brightest, so what does it mean, and is this gibberish or does it make sense?

    19 Comments
    2025/01/26
    22:44 UTC

    23

    What impacts will quantum computing have on the physical world? When will this materialize?

    36 Comments
    2025/01/26
    16:52 UTC

    2

    BeyondQuantum: Intro to Quantum and Research" programme for highschoolers + undergrads [Application closes on Jan 31st!]

    2 Comments
    2025/01/25
    16:55 UTC

    1

    How to apply CX gates between qubits from two different Qiskit quantum circuits?

    I’m new to quantum computing and Qiskit (using version 1.3.1), and I’m working on implementing a circuit where I need to apply CNOT (CX) gates between qubits from two different quantum circuits (qc1 and qc2). I’m stuck on how to make this work and would really appreciate some help!

    I have the following code so far:

    from qiskit import QuantumCircuit
    import numpy as np
    
    n = 10  # Number of qubits
    
    qc1 = QuantumCircuit(n)
    qc2 = QuantumCircuit(n)
    
    statevector1 = np.zeros(int(np.power(2, n)))
    statevector2 = np.zeros(int(np.power(2, n)))
    
    statevector1 = initialiseStatevector(statevector1)  # Fill in the probabilities for the statevectors
    statevector2 = initialiseStatevector(statevector2)
    
    qc1.initialize(statevector1, [x for x in range(n)])
    qc2.initialize(statevector2, [x for x in range(n)])
    
    # Initializing both the circuits with some statevectors
    
    # Now I want to apply CX gates between the qubits of both circuits
    for i in range(n):
        target_qubit = qc1[i]
        control_qubit = qc2[i]
        perform_CX(target_qubit, control_qubit)

    My issues:

    1. The target_qubit and control_qubit are qubits from different circuits, and I'm not sure how to apply a CX gate between them in Qiskit.
    2. I would like to know if there is a simple function I can use to apply the CX gate between qubits from different circuits or if I need to manually combine the circuits.

    What I’ve tried:

    • I initially thought of accessing the qubits via indexing and using the cx method, but I couldn't find a way to do it directly between two circuits.
    • I looked through the Qiskit documentation and couldn't find an example of performing operations across circuits.

    Could anyone help me with this or suggest an approach to achieve this?

    3 Comments
    2025/01/25
    13:37 UTC

    2

    Weekly Career, Education, Textbook, and Basic Questions Thread

    Weekly Thread dedicated to all your career, job, education, and basic questions related to our field. Whether you're exploring potential career paths, looking for job hunting tips, curious about educational opportunities, or have questions that you felt were too basic to ask elsewhere, this is the perfect place for you.

    • Careers: Discussions on career paths within the field, including insights into various roles, advice for career advancement, transitioning between different sectors or industries, and sharing personal career experiences. Tips on resume building, interview preparation, and how to effectively network can also be part of the conversation.
    • Education: Information and questions about educational programs related to the field, including undergraduate and graduate degrees, certificates, online courses, and workshops. Advice on selecting the right program, application tips, and sharing experiences from different educational institutions.
    • Textbook Recommendations: Requests and suggestions for textbooks and other learning resources covering specific topics within the field. This can include both foundational texts for beginners and advanced materials for those looking to deepen their expertise. Reviews or comparisons of textbooks can also be shared to help others make informed decisions.
    • Basic Questions: A safe space for asking foundational questions about concepts, theories, or practices within the field that you might be hesitant to ask elsewhere. This is an opportunity for beginners to learn and for seasoned professionals to share their knowledge in an accessible way.
    8 Comments
    2025/01/24
    14:01 UTC

    Back To Top