r/QuantumComputing • • Jul 29 '25

News A Quantum Gravimeter for GPS Backup - An Australian ship navigated for six days using the device

Thumbnail
spectrum.ieee.org
12 Upvotes

r/QuantumComputing • • Jul 29 '25

Quantum Reinforcement Learning Project - Issues with gradients when combining PennyLane and PyTorch

5 Upvotes

Hey there,

I'm currently working on a QRL project (Reinforcement Learning on VQC's instead of NN's) while learning on Offline Data (for CartPole env). I already implemented a metaheuristic optimizer and the program is running well. However, for comparison, I also need to implement a gradient-based optimizer. So I combine PyTorch for that optimization together with PennyLane for the quantum operations. I’m running into an issue where the gradients between these two tools keep breaking, and I feel like I'm running in circles.

I already had several runnable versions of my program, but the gradients seemed to always be cut off, or they were completely missing. After removing lots of .detach(), .tensor(), or similar commands, the gradients seem to be calculated correctly, but my program always breaks due to errors related to tensor types or detached gradients. Here are some of the errors I'm receiving:

  1. TypeError: expected Tensor as element 0 in argument 0, but got ExpectationMP – occurred when I was working with quantum operators and tensors.
  2. RuntimeError: Can't call numpy() on Tensor that requires grad. Use tensor.detach().numpy() instead. – happened when I tried to interact with tensors that required gradients.
  3. RuntimeError: The size of tensor a (2) must match the size of tensor b (16) at non-singleton dimension 1 – occurred when I tried to compute loss or targets with mismatched tensor sizes, despite using .float() or .detach() in attempts to fix the gradient flow.

Whenever I fixed the issues (e.g. by using .detach(), .numpy(), .to(tensor.float64), .tensor(), or similar, I always break the gradients again. I thought there must be an easy way to combine PennyLane with PyTorch without breaking the gradients or breaking the program, but couldn't find anything after several days of debugging and running into the same issues again and again. Does anyone here have experience with this or an explanation for what I'm experiencing? I'd be glad to hear!


r/QuantumComputing • • Jul 29 '25

QC Education/Outreach Beginner-Friendly Qiskit Notebook: A Brief Introduction to Quantum Computing [Open-Source]

19 Upvotes

Hello everyone!

I’ve created an open-source, beginner-friendly Jupyter notebook designed to introduce the basics of quantum computing using Qiskit.

It covers core concepts such as:

- Qubits and superposition

- Quantum gates (X, H, CNOT)

- Entanglement

- How to build your first quantum circuit from scratch

To make it accessible to a wider audience, the notebook is available in both English and Arabic:

🔗 [English Notebook (Open in Google Colab)]

🔗 [Arabic Notebook (Open in Google Colab)]

📁 [Full GitHub Repository]

I'd love to hear your thoughts, suggestions, or improvements. any feedback is more than welcome!

Thank you!


r/QuantumComputing • • Jul 29 '25

Use cases of quantum federated learning for my final year research project

7 Upvotes

Our professor really want us to do our final year project on QML with federated learning. I hear a lot of pessimism when it comes to QML but this is a topic im stuck with and i want to still try to make the best out of it. What are some use cases of QFL that do have scope? What are some related topics you think i should explore?


r/QuantumComputing • • Jul 29 '25

Azure IONQ circuit help

3 Upvotes

I've tried sending one shot jobs to the API, but all I ever get back is a general probability distributions on the qpu service. I want an actual bitstring result, or something like 1: 1.00 0: 0.00 that I can know with certainty what the actual result is. Are there any other services? I'm already using LfD and ANU's API.

All I get is outputs like this even for one shots with IONQ.

"histogram":{"0":0.54,"1":0.46}}

Here's my input I call with

{"qubits": 1, "circuit": [{"gate": "h", "targets": [0]}], "shots": 1}

Am I missing something?


r/QuantumComputing • • Jul 27 '25

Discussion Quantum computing in 10 years

73 Upvotes

Where do you think QC will be in 10 years?


r/QuantumComputing • • Jul 25 '25

30 Years of quantum computing - DiVincenzo's Perspective

29 Upvotes

r/QuantumComputing • • Jul 25 '25

Video JB Pritzker speaks with IBM CEO Arvind Krishna about quantum at SXSW

Thumbnail
youtube.com
4 Upvotes

r/QuantumComputing • • Jul 25 '25

Question Weekly Career, Education, Textbook, and Basic Questions Thread

4 Upvotes

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.

r/QuantumComputing • • Jul 24 '25

Looking for Inspiration

16 Upvotes

Hi r/quantumcomputing,

My recent work has revolved around ansatz design for VQE, and it's given me a solid foundation in variational quantum algorithms. I'm now at a point where I'm starting to look ahead and consider new research directions.

I'm keen to hear what kind of cutting-edge problems or emerging areas you all are finding most compelling in quantum computing these days. Are there any particular challenges in quantum chemistry that are particularly intriguing? Or perhaps areas outside of chemistry that are seeing significant breakthroughs or offer exciting opportunities for research? Just trying to broaden my perspective on potential avenues for future in-depth work.


r/QuantumComputing • • Jul 24 '25

Question Can I use quantum in healthcare?

0 Upvotes

Can I use quantum computing to do predictive analytics in healthcare?

I am working on a project on budgeting for a national healthcare programme over a period of 10years and I was thinking if I could make any use of QC.


r/QuantumComputing • • Jul 23 '25

NetSquid

6 Upvotes

Has anyone had luck registering with NetSquid? I’ve tried a few times and have never heard back from them.

If you have any suggestions for alternative quantum network simulators, I’m all ears!

Thanks.


r/QuantumComputing • • Jul 22 '25

News EnSilica: Develops First of Its Kind Three-in-One CRYSTALS Post-Quantum Cryptography ASIC

Thumbnail
ensilica.com
11 Upvotes

r/QuantumComputing • • Jul 21 '25

Question Why Quantum Computing in Chemistry?

13 Upvotes

ELIA5 why quantum chemistry is useful (or theorized to be useful). What do we currently use classical computers for in chemistry? Would using a quantum computer simply speed up whatever that process is?

How does creating fertilizer tie into all of this?

What are the classical algorithms we use? Then what are the Quantum Algos we use or want to use??


r/QuantumComputing • • Jul 20 '25

Question What is the long-term potential of Qiskit for the quantum computing industry?

29 Upvotes

My understanding is that QiSkit is a Python-based software development kit (SDK) for quantum computing. It provides tools and libraries to help developers build software. This could include designing quantum circuits, simulating quantum gates and building quantum applications. Through Qiskit Runtime, a cloud-based service, users can execute quantum computations on IBM quantum hardware.

How is it used in practice? How many users actually run real quantum computations on IBM quantum computer, i.e. QPU? How many use Qiskit primarily for simulation and learning? Is Qiskit mainly a tool for education and experimentation at this stage? Can quantum computers based on different qubit types potentially all use Qiskit to develop software?

What is the long-term potential of Qiskit for the quantum computing industry? Any similar examples in the classical computing era?


r/QuantumComputing • • Jul 20 '25

I built my own quantum programming language called QSM. Here's a 3-qubit QFT running on it.

37 Upvotes

Been working on this side project for a while and finally got it to a point worth sharing. I created a domain-specific language for quantum computing that compiles to Qiskit circuits. You may check the open-source project here.

The syntax is pretty clean, here's a complete QFT implementation:

-- 3-qubit Quantum Fourier Transform demonstration
qbit q[3]
creg result[3]

-- Prepare initial state |101⟩
x q[0]
x q[2]

function qft3()
    hadamard q[2]
    cp(pi/2) q[1], q[2]
    cp(pi/4) q[0], q[2]
    hadamard q[1]
    cp(pi/2) q[0], q[1]
    hadamard q[0]
    swap q[0], q[2]
end

qft3()
-- measure and print results

[qsm] Quantum Circuit:
     ┌───┐┌───┐         ┌───┐┌─┐   
q_0: ┤ X ├┤ H ├─X─────X─┤ H ├┤M├───
     ├───┤├───┤ │ ┌─┐ │ └───┘└╥┘
q_1: ┤ H ├┤ H ├─┼─┤M├─┼───────╫────
     ├───┤├───┤ │ └╥┘ │ ┌───┐ ║ ┌─┐
q_2: ┤ X ├┤ H ├─X──╫──X─┤ H ├─╫─┤M├
     └───┘└───┘    ║    └───┘ ║ └╥┘
c: 3/══════════════╩══════════╩══╩═
                   1          0  2
[qsm] QFT+invQFT result:  101

What I'm particularly happy about:

  • Functions work properly (way cleaner than inline gate sequences)
  • Controlled phase gates with arbitrary angles
  • Array notation for qubits/classical registers
  • The QFT + inverse QFT round trip gives back the original state perfectly

The compiler does a 3-pass approach: register discovery, circuit building, then operation emission. Supports classical control flow too which opens up some interesting possibilities.

Still rough around the edges but it's been fun seeing quantum algorithms expressed more concisely. The QFT example above would be way more verbose in raw Qiskit.

Anyone else been experimenting with quantum DSLs? I know there's Q# and Cirq's syntax, but I wanted something that felt more like writing the actual algorithm rather than wrestling with framework specifics.

Edit: For those asking about the implementation - it's Python-based, parses to AST nodes, then emits Qiskit operations. The measurement results get fed back into a simple interpreter for the print statements. Nothing groundbreaking but scratches the itch of wanting cleaner quantum code.


r/QuantumComputing • • Jul 18 '25

Algorithms [Release] Open-Source Quantum Solver for Maximum Independent Set Problems

11 Upvotes

Hi, I’m part of the team behind a new open-source library for solving Maximum Independent Set (MIS) problems using neutral atom quantum hardware (Pasqal QPUs) and emulators running on classical machines and we’re excited to announce a first release!

The MIS solver is intended for anyone working on optimization, logistics, scheduling, network design, etc. especially where classical approaches struggle with combinatorial complexity. No quantum background is required, just feed a graph and the solver handles the technical details.

Some features:

  • Supports challenging instances, including unit-disk graphs.
  • Straightforward interface and practical examples.
  • Developed in collaboration with academic and industry partners, grounded in recent research.
  • Works with quantum computers or quantum emulators (provided).

Documentation, tutorials, and installation instructions are available here:

https://pasqal-io.github.io/maximum-independent-set/latest/

We’re interested in your feedback, questions, and suggestions. Contributions are welcome—“good first issues” are tagged for newcomers.

Happy to answer any technical or practical questions in this thread!


r/QuantumComputing • • Jul 18 '25

Question What would be the best gift to my Quantum Research teammates?

27 Upvotes

With a little trepidation I am crowdsourcing this question as it's been hilariously contentious trying to work this out with my boss: what's the best gift to get a small team of Quantum Researchers to celebrate their first paper being published?

It's a thank you from myself to the team, as we were a bit of a long shot for our employer to let us specialise on a certain area of interest, and having a paper accepted is a big deal to us. We are all pretty early in our careers outside of academia so this is a morale boost.

Any thoughts? The budget is less than a hundred euros each person (but feel free to suggest more if it helps the answer), and it can be anything. But something that really makes Physics people smile would be incredible. Please help, obi wan, etc.


r/QuantumComputing • • Jul 18 '25

Question Weekly Career, Education, Textbook, and Basic Questions Thread

6 Upvotes

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.

r/QuantumComputing • • Jul 17 '25

Quantum coin flip

8 Upvotes

How hard would it be to make a device at home that does a quantum "coin flip" experiment? Out of curiosity=) Sorry, not a physicist.


r/QuantumComputing • • Jul 17 '25

Other What to do if I have theories?

0 Upvotes

I attempted to contact the fine scholars at QuNorth but unfortunately the phone recipiebt didn't take me seriously on account of my reference to the movie AntMan.


r/QuantumComputing • • Jul 17 '25

Other I need a free working quantum random number generator website with simple interface for an experiment. Please help.

0 Upvotes

r/QuantumComputing • • Jul 16 '25

Public engagement resources for Quantum Computing

22 Upvotes

Hopefully of use to anyone involved in science communication / education / public engagement with Quantum Computing.

Activities for public engagement in Quantum Computing
https://peeecs.wordpress.com/activities-for-public-engagement-in-quantum-computing/

"This page collects examples of explanations of quantum phenomena (particularly as it relates to computing), of activities which might be used in teaching about quantum computing (whether in a classroom or at a science festival type of event) and anything that involves engaging a general public audience with Quantum Computing. Also included are learning CPD opportunities for scientists and science communicators who might need to learn more about the topic too."

  1. Brush up your own quantum knowledge / CPD
  2. Public talks and events
  3. Activities for schools / public
  4. Published reports
  5. Articles
  6. UK Funding
  7. Careers and internships

Jo


r/QuantumComputing • • Jul 17 '25

Idea for quantum compute Sorry error reduction

0 Upvotes

I apologize in advance for this being long winded.

Could quantum computing, like Rigetti’s chiplet systems with their new 99.5% two-qubit gate fidelity, reduce errors faster by duplicating an error state—say, a superposition of phase and bit flips—on one computer using local entanglement, then sending it via a photonic interconnect to a second computer for parallel error correction? The first could run surface codes, the second could tweak dynamical decoupling, comparing results to optimize toward greater fidelity. Thoughts, elaborations, or refinements?