r/Physics • u/___J Quantum information • Jul 18 '18
Google AI has released Cirq, their Python framework for hardware-aware quantum computation.
https://github.com/quantumlib/Cirq41
u/MetamorphicAI Jul 19 '18
The fact that the algorithm scripts are so small it bothersome. It is obvious that error correction is just thrown out the window, but i suppose you have to start somewhere. For the record, I love you AI if you ever decide to topple the human race : )
12
u/brolix Jul 19 '18
It is obvious that error correction is just thrown out the window, but i suppose you have to start somewhere.
From the docs:
Note that one cannot always measure H directly (without the use of quantum phase estimation), so one often relies on the linearity of expectation values to measure parts of H in step 2. One always needs to repeat the measurements to obtain an estimate of the expectation value. How many measurements needed to achieve a given accuracy is beyond the scope of this tutorial, but Cirq can help investigate this question.
1
u/Spezisapedophile Jul 19 '18
The fact that the algorithm scripts are so small it bothersome.
What do you mean by that? How big do you expect the scripts to be?
10
u/Bromskloss Jul 19 '18
What does "hardware-aware" mean?
3
Jul 21 '18
It allows you to design circuits with the geometry of the architecture in mind. Many other frameworks have so far been agnostic to the actual physical qubit layout and available gate set.
1
Jul 19 '18
It means it looks for a quantum processor and offloads work to it if available.
3
u/otac0n Jul 19 '18
How does a language do that? That would be a feature of the runtime, and I'm skeptical that we have enough of a hardware standard to justify their claim.
1
u/jaredjeya Condensed matter physics Jul 19 '18
I think you can use Google’s cloud Quantum Computing service? Which TIL is actually a thing.
2
u/Jasper1984 Jul 21 '18
Wikipedia says emulators, simulators.. When i think "cloud" i think a noisy server room with computers blowing hot air..
If people are willing to throw ten bucks at it.. You can burn a lot of coal for ten bucks.
1
u/WikiTextBot Jul 21 '18
Cloud-based quantum computing
Cloud-based quantum computing is the invocation of quantum emulators, simulators or processors through the cloud. Increasingly, cloud services are being looked on as the method for providing access to quantum processing.
[ ^PM | Exclude ^me | Exclude from ^subreddit | FAQ / ^Information | ^Source ] Downvote to remove | v0.28
1
u/jaredjeya Condensed matter physics Jul 21 '18
You’re conveniently missing out the third item on that list which is “processors” aka bona fide quantum computers.
Even an emulator is useful if you just want to learn how to program a quantum computer.
2
1
u/quantum_jim Quantum information Jul 19 '18
As the readme says, this is not an official Google product. So I wonder what relation it will have with their actual final product.
-1
7
u/GaunterO_Dimm Quantum information Jul 19 '18
I'll be curious to see how this goes - the quantum computing simulation space is already pretty full.