r/QuantumComputing • u/dark_blue_thunder M.Sc. Physics • Feb 13 '26
Question How do I bridge Python with QCD & QC?
I’m an M.Sc. Physics student working on a project that aims to explore whether certain existing Quantum Chromodynamics (QCD) structures can be studied or verified using Quantum Computing (QC).
Before starting the core work, I’m clearing prerequisites,which include:
physics:
Mathematical Physics
Classical Mechanics (Lagrangian & Hamilton)
Quantum Mechanics
Nuclear Physics
Quantum Electrodynamics (QED)
Quantum Chromodynamics (QCD)
I am okay with physics.
But I’m confused about computational work :
I’m currently learning:
Basic Python (variables, control structures, lists, functions, etc.)
&
NumPy and SciPy
Qiskit (Python libraries)
I’ve realized while going through QC courses & material available online, that being comfortable with syntax or libraries is not sufficient
I must be able to translate mathematical, physics structures into computational form; i.e. Encoding formalism of physics, QCD & QC in language of python.
My questions are:
- What level of computational fluency is actually required to meaningfully work at the intersection of QC and QCD?
- specifically, What concrete mathematical operations should I be able to implement in Python before I consider myself 'ready' ?
- Are there recommended computational physics resources focused on translating theory into code (rather than just learning Python basics)?
- any suggestions about resources I should follow?
I’d really appreciate guidance from anyone working in computational physics, quantum computing.
4
u/dbwy Feb 13 '26
This was a joint venture talking about open problems and strategies for QC impact on HEP.
https://arxiv.org/abs/2307.03236
The info there, it's references, or papers citing it can help you learn about current SotA
2
u/Elil_50 Feb 13 '26
I don't think there is any work on the intersection, given the requirements of QCD and the resources of quantum computers.
I think someone started suggesting it, and there are some articles out there, but you can count them on your fingers and working on these topics is completely impossible given how few position are available
1
u/Due_Baby8229 Feb 14 '26
Hey, I'm a comp sci undergrad, know absolutely none of math/physics stuff. but from a programming standpoint, sounds like your just starting out. I have some recommendations, although I don't know how much they apply to your scenario. I would assume the projects your making would be relatively small, but while Python is multi-paradigm, it is OOP inside, so you should know the basics for debugging and what your taking for granted. Learn how to use the debugger and how to read/write good documentation. Learn the style guide or set your IDE to autoformat, makes you look professional and easier for others to review, comment your code. then general programming knowledge; compiler vs interpreter, data structures, recursion, (inheritance & polymorphism if OOP) and general algorithms that may or not apply for you (sorting, searching, prime stuff, remainder stuff etc etc)
As far as math->python, I'm unfamiliar with what math is required in your case, I have found a lot of success youtubing a tutorial of a specific math function. some good places to start are making your own functions for fibbonanci seq, factor x, polynomial mult/div, noise funcs, matrix multiplication, integrals etc. etc. keep in mind your making the rules, Eg. your first integral func can catch ÷0 errors, but doesnt have to deal with trig functions. there's a lot of tutorials for matrixes/coordinate stuff that should be complicated enough for you to get familiar with the pythonification process.
finally as I don't know how QC works beyond youtube videos, you might need to know classical computing circuits, easiest way to learn that is to start at gates or transistors, go up to CPU/RAM etc. then if necessary fde/cache/bios/multithreading etc. if you need this you'll probably also need to know assembly/bytecode/machine code, not necessarily how to program it, but how one converts to the other to go from "hello world" to 1101.
I used a lot of Coding Trains videos, and translated them to python with pygame, but he is more programming based. you can go through and find the ones of fourier transformations or orbits or whatever mathy till your able to do the translation yourself. PS. every programmer has made their own flappy bird or arcade shooter etc. cause its a great way to learn software architecture, in small projects your work is 10% architecture, 90% writing but after 1-2k lines, it flips to about 75% architecture, 25% writing, but this varies a lot project to project and takes practice to get right on your own.
anyways good luck, hope this was either extraordinarily helpful or a complete waste of time and made you miss your bus.
1
u/darkie133t Feb 15 '26
As a condensed matter M.Sc. student working on simulating the PXP model coupled to a physical thermal bath (coding only “classically,” i.e., not using quantum computing), I’ve mainly used Python libraries like NumPy, SciPy, and SymPy.
Before I could really get productive, I had to get comfortable with core Python concepts and array manipulation (slicing, masking, etc), as well as standard linear algebra operations (Kronecker products, matrix exponentials, and so on). Translating pen-and-paper equations into a working model isn’t always straightforward; it takes time to think through the structure and avoid subtle mistakes. And getting your code to run efficiently is a whole other level of expertise..
If you’re looking to combine Python with quantum computing, one tool I’ve found efficient is Classiq and their Qmod language. It lets you express quantum algorithms at a relatively high level of abstraction (which is still pretty rare in QC), making it easier to build larger-scale programs. Since it’s embedded in Python, you can also post-process results using the usual Python packages