r/computerscience • • 18h ago

Can Quantum Computing one day determine if P=NP?

/r/QuantumComputing/comments/1y8czze/can_quantum_computing_one_day_determine_if_pnp/
0 Upvotes

3 comments sorted by

1

u/Ateious 12h ago

This is an interesting question, I'm not an expert but here are my thoughts:

The going theory is that the two are not equivalent because solving the problem and determining its correctness cannot happen succinctly and simultaneously.

P = NP and P != NP are both still unproven, so yes it's correct that they aren't equivalent. However, determining its correctness doesn't necessarily need to be succinct and/or simultaneous.

I imagine that if given a maze, all possibilities would be assessed and then instantly asserted (not 0 or 1 but both 0 and 1 to determine all path possibilities). As it seems to me, wouldn't this be nearly the same thing as solving and then checking the problem?

Yes, quantum computing could generate all states (paths) of the problem (maze). However, solving the problem and verifying the solution would occur separately whether or not a quantum computer is used.

The complexity of solving the maze and verifying the solution isn't affected by quantum computing. Although the efficiency may be greater using a quantum computer for problems with large state spaces.

Determining if P=NP depends on the algorithm rather than the type of computer running it.

1

u/ishanbehoora 8m ago edited 0m ago

I’ll try to give you an overview level of it 

  1. p things that can be solved easily (polynomial time tm technical details I’m ignoring and you can too for a layman overview etc )
  2. np things that can be verified easily (it’s not non polynomial time . That’s a misconception . It’s non deterministic polynomial that’s what the n is . It’s hard to explain if you want to get a layman’s understanding look up Nfa vs dfa . This lets you “guess” solutions and then check but since each individual guess check is easy . Think I can now branch solution possibilities and check them simultaneously  . But since no “branch” takes too long that’s what this is . 

Why almost everyone thinks they are different . One verifies a solution one creates a solution . Intuitively we “feel” one is harder . This is the same thing just in comp Sci terms applied to a very specific thing polynomial runtime (if you don’t know what that is just assume easy for this explanation )

Quantum stuff

Same question just now you have quantum computers .

Quantum lets us “seemingly do more”. It doesn’t let us encode all possibilities in the way you might think the guesses from np work . This is a very common confusion . Hell I had it when I heard quantum lets us do superpositions (no heavy physics background ) I was like so if we can try all that that’s guess all like np . It’s more complicated to do with correlations quantum stuff lets us do is my superficial understanding I’m not a quantum person ) So that’s a whole other question is the quantum variant better ? 

So that’s how we have those questions if p(easy classical) vs np(guess / hard classical) vs qbp (easy quantum)

Edit : source me . I’m not an expert in complexity theory research my area is algos but I work in theory (theoretical cs) . 

Clarification: I am simplifying things for a layman explanation if anyone wants a technical discussion we can I’m just trying to give op an overview . I’m very handy waving away a lot here but I’m trying to just give an overview