The Next Computer
-
Elom0
- Lives in sente
- Posts: 732
- Joined: Sun Feb 20, 2022 9:03 pm
- Rank: BGA 3 kyu
- GD Posts: 0
- KGS: Elom, Windnwater
- OGS: Elom, Elom0
- Online playing schedule: The OGS data looks pretty so I'll pause for now before I change it.
- Has thanked: 1028 times
- Been thanked: 32 times
-
phillip1882
- Lives in gote
- Posts: 323
- Joined: Sat Jan 08, 2011 7:31 am
- Rank: 6k
- GD Posts: 25
- OGS: phillip1882
- Has thanked: 4 times
- Been thanked: 39 times
Re: The Next Computer
i'm not worried about this breaking encryption. just double the size of the number that needs factoring. even if polynomial time to factor, it would take near to the end of time to do so.
-
Elom0
- Lives in sente
- Posts: 732
- Joined: Sun Feb 20, 2022 9:03 pm
- Rank: BGA 3 kyu
- GD Posts: 0
- KGS: Elom, Windnwater
- OGS: Elom, Elom0
- Online playing schedule: The OGS data looks pretty so I'll pause for now before I change it.
- Has thanked: 1028 times
- Been thanked: 32 times
Re: The Next Computer
Hmm then why are they saying that it would take 10 years to update their encryption based security . . ?phillip1882 wrote:i'm not worried about this breaking encryption. just double the size of the number that needs factoring. even if polynomial time to factor, it would take near to the end of time to do so.
-
vier
- Dies with sente
- Posts: 91
- Joined: Wed Oct 30, 2013 7:04 am
- GD Posts: 0
- Has thanked: 8 times
- Been thanked: 29 times
Re: The Next Computer
Why precisely? It is not the case that quantum computers are faster general purpose computers. Today only a few problems are known that could be solved more quickly by a quantum computer in case a quantum computer could be built that can handle real world noise.Elom0 wrote:AlphaGo would love this
If factoring a number of M digits takes slightly over M^2 steps, then factoring a number of 2M digits takes slightly over 4M^2 steps, roughly 4 times as long, not to the end of time.phillip1882 wrote:i'm not worried about this breaking encryption. just double the size of the number that needs factoring. even if polynomial time to factor, it would take near to the end of time to do so.
-
pwaldron
- Lives in gote
- Posts: 409
- Joined: Wed May 19, 2010 8:40 am
- GD Posts: 1072
- Has thanked: 29 times
- Been thanked: 182 times
Re: The Next Computer
Factoring on a quantum computer is log(N) complexity. Doubling the size of the number only leads to a small increase in work.phillip1882 wrote:i'm not worried about this breaking encryption. just double the size of the number that needs factoring. even if polynomial time to factor, it would take near to the end of time to do so.
There's a lot of work right now in quantum resistant encryption algorithms. AlphaGo may not be worried, but the banks are.
-
phillip1882
- Lives in gote
- Posts: 323
- Joined: Sat Jan 08, 2011 7:31 am
- Rank: 6k
- GD Posts: 25
- OGS: phillip1882
- Has thanked: 4 times
- Been thanked: 39 times
Re: The Next Computer
no its polynomial rather than exponential.Factoring on a quantum computer is log(N) complexity. Doubling the size of the number only leads to a small increase in work.
i dont just mean doubling the number i mean doubling the number of bits it takes to represent.
for the sake of argument, lets say a 32 bit integer take 10 seconds to factor
a 64 bit integer would take 100 seconds.
a 128 bit integer would take 10000 seconds.
a 256 bit integer would take 100,000,000 seconds.
a 512 bit integer would take 100,000,000*100,000,000 seconds. and this is assuming a very generous N^2 complexity.
determining whether a number is prime is N^2 complexity by the number of bits, but factoring a number is a lot harder.
-
vier
- Dies with sente
- Posts: 91
- Joined: Wed Oct 30, 2013 7:04 am
- GD Posts: 0
- Has thanked: 8 times
- Been thanked: 29 times
Re: The Next Computer
Hmm. Are you confusing polynomial and exponential? I gave the approximately correct values. pwaldron's reply was essentially correct. A number N has M bits, where M is about log N. Shor's algorithm takes expected time O(M^2 log M loglog M), that is, roughly time O(M^2). Doubling the length of N would take roughly four times as long.phillip1882 wrote:no its polynomial rather than exponential.Factoring on a quantum computer is log(N) complexity. Doubling the size of the number only leads to a small increase in work.
i dont just mean doubling the number i mean doubling the number of bits it takes to represent.
for the sake of argument, lets say a 32 bit integer take 10 seconds to factor
a 64 bit integer would take 100 seconds.
a 128 bit integer would take 10000 seconds.
a 256 bit integer would take 100,000,000 seconds.
a 512 bit integer would take 100,000,000*100,000,000 seconds. and this is assuming a very generous N^2 complexity.
determining whether a number is prime is N^2 complexity by the number of bits, but factoring a number is a lot harder.
-
phillip1882
- Lives in gote
- Posts: 323
- Joined: Sat Jan 08, 2011 7:31 am
- Rank: 6k
- GD Posts: 25
- OGS: phillip1882
- Has thanked: 4 times
- Been thanked: 39 times
Re: The Next Computer
(M +1)^2 = M^2 +2*M aprox. going from 32 to 33 would be a difference of 64.
technically you're right. doubling the size of the number increases the complexity by a factor of 4.
but if you multiply by 4 enough times, it becomes too big.
technically you're right. doubling the size of the number increases the complexity by a factor of 4.
but if you multiply by 4 enough times, it becomes too big.