Amazon Braket – Get Started with Quantum Computing
https://aws.amazon.com/blogs/aws/amazon-braket-get-started-with-quantum-comp... Amazon Braket – Get Started with Quantum Computing by [Jeff Barr](https://aws.amazon.com/blogs/aws/author/jbarr/) | on 02 DEC 2019 Nearly a decade ago I wrote about the [Quantum Compute Cloud](https://aws.amazon.com/blogs/aws/introducing-qc2-the-quantum-compute-cloud/) on April Fool’s Day. The future has arrived and you now have the opportunity to write quantum algorithms and to run them on actual quantum computers. Here’s what we are announcing today: [Amazon Braket](https://aws.amazon.com/braket) – A fully managed service that allows scientists, researchers, and developers to begin experimenting with computers from multiple quantum hardware providers in a single place. [Bra-ket notation](https://en.wikipedia.org/wiki/Bra%E2%80%93ket_notation) is commonly used to denote quantum mechanical states, and inspired the name of the service. AWS Center for Quantum Computing – A research center adjacent to the [California Institute of Technology](https://www.caltech.edu/) (Caltech) that will bring together the world’s leading quantum computing researchers and engineers in order to accelerate development of quantum computing hardware and software. Amazon Quantum Solutions Lab – [A new program](https://aws.amazon.com/quantum-solutions-lab/) to connect AWS customers with quantum computing experts from Amazon and a very select set of consulting partners. What’s Quantum Computing Ordinary (classical) computers use collections of bits to represent their state. Each bit is definitively 0 or 1, and the number of possible states is 2n if you have n bits. 1 bit can be in either of 2 states, 2 bits can be in any one of 4 states, and so forth. A computer with 1 MiB of memory has 2(8*1048576) states, excluding CPU registers and external storage. This is a large number, but it is finite, and can be calculated. Quantum computers use a more sophisticated data representation known as a [qubit](http://en.wikipedia.org/wiki/Qubit) or quantum bit. Each qubit can exist in state 1 or 0, but also in superpositions of 1 and 0, meaning that the qubit simultaneously occupies both states. Such states can be specified by a two-dimensional vector that contains a pair of complex numbers, making for an infinite number of states. Each of the complex numbers is a probability amplitude, basically the odds that the qubit is a 0 or a 1, respectively. A classical computer can be in just one of those 2n states at a given time, but a quantum computer can occupy all of them in parallel. If you have been in IT for any length of time, you know that [Moore’s Law](https://en.wikipedia.org/wiki/Moore%27s_law) has brought us to the point where it possible to manufacture memory chips that store 2 tebibytes (as I write this) on a thumb drive. The physical and chemical processes that make this possible are amazing, and well worth studying. Unfortunately, these processes do not apply directly to the manufacture of devices that contain qubits; as I write this, the largest quantum computers contain about 50 qubits. These computers are built on several different technologies, but seem to have two attributes in common: they are scarce, and they must be run in carefully controlled physical environments. How it Works Quantum computers work by manipulating the amplitudes of the state vector. To program a quantum computer, you figure out how many qubits you need, wire them together into a quantum circuit, and run the circuit. When you build the circuit, you set it up so that the correct answer is the most probable one, and all the rest are highly improbable. Whereas classical computers use Boolean logic and are built using NOT, OR, and AND gates, quantum computers use superposition and interference, and are built using [quantum logic gates](https://en.wikipedia.org/wiki/Quantum_logic_gate) with new and exotic names (X, Y, Z, CNOT, Hadamard, Toffoli, and so forth). This is a very young field: the model was first proposed in the early 1980s, followed shortly by the realization that a quantum computer could perform simulations of quantum mechanical systems that are impossible on a classical computer. Quantum computers have applications to machine learning, linear algebra, chemistry, cryptography, simulations of physics, search, and optimization. For example, [Shor’s Algorithm](https://en.wikipedia.org/wiki/Shor%27s_algorithm) shows how to efficiently factor integers of any size ([this video](https://www.youtube.com/watch?v=lvTqbM5Dq4Q&t=160s) has a really good explanation). Looking Ahead Today’s implementations of public key cryptography are secure because factoring large integers is computationally intensive. Depending on key length, the time to factor (and therefore break) keys ranges from months to forever (more than the [projected lifetime of our universe](https://en.wikipedia.org/wiki/Ultimate_fate_of_the_universe)). However, when a quantum computer with enough qubits is available, factoring large integers will become instant and trivial. Defining “enough” turns out to be far beyond what I can cover (or fully understand) in this blog post, and brings in to play the difference between logical and physical qubits, noise rates, error correction, and more! You need to keep this in mind when thinking about medium-term encryption and data protection, and you need to know about [post-quantum cryptography](https://en.wikipedia.org/wiki/Post-quantum_cryptography). Today, [s2n](https://github.com/awslabs/s2n) (our implementation of the TLS/SSL protocols) already includes two different key exchange mechanisms that are quantum-resistant. Given that it takes about a decade for a new encryption protocol to become widely available and safe to use, it is not too soon to look ahead to a time when large-scale quantum computers are available. Quantum computing is definitely not mainstream today, but that time is coming. It is a very powerful tool that can solve certain types of problems that are difficult or impossible to solve classically. I suspect that within 40 or 50 years, many applications will be powered in part using services that run on quantum computers. As such, it is best to think of them like a GPU or a math [coprocessor](https://en.wikipedia.org/wiki/Intel_8087). They will not be used in isolation, but will be an important part of a hybrid classical/quantum solution. Here We Are Our goal is to make sure you know enough about quantum computing to start looking for some appropriate use cases and conducting some tests and experiments. We want to build a solid foundation that is firmly rooted in reality, and to work with you to move into a quantum-powered future. Ok, with that as an explanation, let’s get into it! Amazon Braket This new service is designed to let you get some hands-on experience with qubits and quantum circuits. You can build and test your circuits in a simulated environment and then run them on an actual quantum computer. [Amazon Braket](https://aws.amazon.com/braket) is a fully managed AWS service, with security & encryption baked in at each level. You can access [Amazon Braket](https://aws.amazon.com/braket) through a notebook-style interface: The Python code makes use of the Amazon Braket SDK. You can create a quantum circuit with a single line of code (this is, according to my colleagues, a “maximally entangled Bell state between qubit 0 and qubit 1”): bell = Circuit ( ) . h ( 0 ) . cnot ( 0 , 1 ) And run it with another: print ( device . run ( bell , s3_folder ) . result ( ) . measurement_counts ( ) ) In addition to the classically-powered simulation environment, [Amazon Braket](https://aws.amazon.com/braket) provides access to quantum computers from [D-Wave](https://www.dwavesys.com/), [IonQ](https://ionq.com/), and [Rigetti](https://www.rigetti.com/). These devices have a couple of things in common: they are leading-edge tech, they are expensive to build and run, and they generally operate in a very extreme and specialized environment (supercooled or near-vacuum) that must be kept free of electrical, thermal, and magnetic noise. Taken together, I think it is safe to say that most organizations will never own a quantum computer, and will find the cloud-based on-demand model a better fit. It may well be the case that production-scale quantum computers are the first cloud-only technology. The actual quantum computers are works of art, and I am happy to be able to share some cool pictures. Here’s the D-Wave [2000Q](https://www.dwavesys.com/d-wave-two-system): The Rigetti [16Q Aspen-4](https://www.rigetti.com/qpu): And the [IonQ linear ion trap](https://ionq.com/technology): AWS Center for Quantum Computing As I noted earlier, quantum computing is still a very young field; there’s a lot that we don’t know, and plenty of room for scientific and technological breakthroughs. I am pleased to announce that we are forming the AWS Center for Quantum Computing. Located adjacent to the Caltech campus, our goal is to bring the world’s top talent together in order to accelerate development. We will be researching technology that might one day enable quantum computers to be mass-produced, while also working to identify applications that are best solved on quantum computers. Both of these are long-term challenges, and I look forward to watching the progress over the next decade or two. Amazon Quantum Solutions Lab We understand that this is a new and intriguing technology, and we know that you want to learn, build your skills, and make some plans to put quantum computing to use. The [Amazon Quantum Solutions Lab](https://aws.amazon.com/quantum-solutions-lab/) will allow you to tap into our own expertise and that of our consulting partners. Our goal is to work with you to find those practical uses, and to help you to build up your own “bench” of qualified quantum developers. You will also be able to take advantage of research and collaboration opportunities at the [Quantum Solutions Lab](https://aws.amazon.com/quantum-solutions-lab/). Quantum Computing Resources Here are some of the reference materials that you might find useful. Some of this will make your head spin, but if I can understand even a little bit of it, then so can you: [The Quantum Computing Party Hasn’t Even Started Yet](https://blogs.scientificamerican.com/observations/the-quantum-computing-part...) – A very gentle overview of the field. [Wikipedia – Quantum Computing](https://en.wikipedia.org/wiki/Quantum_computing) – A good summary, with lots of links and diagrams. [How Quantum Computers Break Encryption | Shor’s Algorithm Explained](https://www.youtube.com/watch?v=lvTqbM5Dq4Q&t=160s) – Helpful video. Skip ahead to [8:03](https://youtu.be/lvTqbM5Dq4Q?t=483) if you want the TL;DR. [Quantum Computation and Quantum Information](https://en.wikipedia.org/wiki/Quantum_Computation_and_Quantum_Information) – The definitive (so they say) textbook on the subject. [Quantum Computing for the Determined](http://michaelnielsen.org/blog/quantum-computing-for-the-determined/) – A series of 22 short explanatory videos, starting with [The Qubit](https://www.youtube.com/watch?v=X2q1PuI2RFI). [Quantum Computing for the Very Curious](https://quantum.country/qcvc) – A long-form article by the author of the preceding videos. [Quantum Computing Expert Explains One Concept in 5 Levels of Difficulty](https://www.youtube.com/watch?v=OWJCfOvochA) – Like the title says, quantum computing explained to 5 different people. [Quantum Supremacy Using a Programmable Supercomputing Processor](https://ai.googleblog.com/2019/10/quantum-supremacy-using-programmable.html) – An important result, and a major milestone that shows how a quantum computer can outperform a classical one for a particular type of problem. Be sure to read Scott Aaronson’s [Supreme Quantum Supremacy FAQ](https://www.scottaaronson.com/blog/?p=4317) as well. [This is What a 50-qubit Quantum Computer Looks Like](https://www.engadget.com/2018/01/09/this-is-what-a-50-qubit-quantum-computer...) – A stunning photo-essay of IBM’s 50-qubit computer. [Shtetl-Optimized](https://www.scottaaronson.com/blog/) – Professor [Scott Aaronson](https://www.scottaaronson.com/) has been [researching](https://www.scottaaronson.com/papers/), [writing](https://www.amazon.com/Quantum-Computing-since-Democritus-Aaronson/dp/052119...), and [blogging](https://www.scottaaronson.com/blog/) about quantum computing for a very long time. — [Jeff](https://twitter.com/jeffbarr);
On Mon, 02 Dec 2019 20:55:39 +0000 coderman <coderman@protonmail.com> wrote:
do you have any useful information on the topic, or just spam from the nsa-amazon cunts?
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Monday, December 2, 2019 10:44 PM, Punk-Stasi 2.0 <punks@tfwno.gf> wrote: ...
do you have any useful information on the topic, or just spam from the nsa-amazon cunts?
i's an invite only roll out to start; i have applied, but as personal rather than business use not likely to get immediate access... i am most interested in the Python Jupyter interface to quantum processing workloads. best regards,
On Mon, 02 Dec 2019 22:47:33 +0000 coderman <coderman@protonmail.com> wrote:
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Monday, December 2, 2019 10:44 PM, Punk-Stasi 2.0 <punks@tfwno.gf> wrote: ...
do you have any useful information on the topic, or just spam from the nsa-amazon cunts?
i's an invite only roll out to start; i have applied, but as personal rather than business use not likely to get immediate access...
i am most interested in the Python Jupyter interface to quantum processing workloads.
so you don't have any hard data on so called quantum computers? Here's the 'key issue' for you : so called 'quantum computers' are yet another tool for surveillance and destruction of whatever freedom is left(not much obv). One of the first things, or the first thing they will be used for is to decrypt all the data that google-cia-amazon-facebook and all the rest of american cunts have stored. so it would be useful to have some actual information on the actual chances that the worst scum of the planet - engineers - have of getting their new weapons to work. if you don't have any actual information then spare us the spam from the pentagon.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Monday, December 2, 2019 11:02 PM, Punk-Stasi 2.0 <punks@tfwno.gf> wrote: ...
so you don't have any hard data on so called quantum computers? Here's the 'key issue' for you :
so called 'quantum computers' are yet another tool for surveillance and destruction of whatever freedom is left(not much obv). One of the first things, or the first thing they will be used for is to decrypt all the data that google-cia-amazon-facebook and all the rest of american cunts have stored.
if this is your concern, then sleep easy; you need not worry! quantum supremacy is a world away from practical cryptologic capability. also, the D-Wave 2000Q has 2,000 qubits and 200 I/O and control lines. the The Rigetti 16Q Aspen-4 has 16 or 38? qubits? the IonQ linear ion trap has less than 100 qubits in trivial configuration. defeating historical SSL/TLS key exchanges is not around the corner... best regards,
https://lists.gforge.inria.fr/pipermail/cado-nfs-discuss/2019-December/00113... More RSA was broken this month, faster, cheaper, and not even using the TOP SECRET SCI NSA tools either.
quantum supremacy is a world away from practical cryptologic capability.
Though it's probably better to not bet against some random quantum alignment occurring within someone's inventive brain (there were a couple papers recently on that process), or that when it does it will not immediately receive $B in parallel manufacturing and deployment, certainly by adversaries... But to continue developing PQC and working other defensive avenues.
defeating historical SSL/TLS key exchanges is not around the corner...
Including ones geared toward getting the Bluffdale Buffer and all others around the world formally deconstructed.
On 12/2/19 16:44, someone wrote:
nsa-amazon ****s
Where is the evidence that the NSA controls Amazon? In the absence of such evidence I think such an assertion is at best unfair and at worst potentially libelous. -- Shawn K. Quinn <skquinn@rushpost.com> http://www.rantroulette.com http://www.skqrecordquest.com
On Mon, 2 Dec 2019 22:30:52 -0600 "Shawn K. Quinn" <skquinn@rushpost.com> wrote:
On 12/2/19 16:44, someone wrote:
nsa-amazon ****s
Where is the evidence that the NSA controls Amazon? In the absence of such evidence I think such an assertion is at best unfair and at worst potentially libelous.
https://www.technologyreview.com/s/614487/meet-americas-newest-military-gian... how can you be so fucking stupid shawn? I mean are you so fuckingly stupid as to try to troll here, or are you so fuckingly stupid as to be completely clueless about the nature of the fascist cesspool you live in? Or else, what is your fucking problem?
libelous
come over here, asshole, and 'enforce' your 'laws'. I'll be waiting for you with a long steel pipe.
On 12/2/19 23:04, %$#$&*@^$![BLEEEP] wrote:
https://www.technologyreview.com/s/614487/meet-americas-newest-military-gian...
NSA != military -- Shawn K. Quinn <skquinn@rushpost.com> http://www.rantroulette.com http://www.skqrecordquest.com
On Mon, 2 Dec 2019 23:44:33 -0600 "Shawn K. Quinn" <skquinn@rushpost.com> wrote:
On 12/2/19 23:04, %$#$&*@^$![BLEEEP] wrote:
https://www.technologyreview.com/s/614487/meet-americas-newest-military-gian...
NSA != military
https://en.wikipedia.org/wiki/National_Security_Agency "(NSA) is a national-level intelligence agency of the United States Department of Defense, " https://en.wikipedia.org/wiki/United_States_Department_of_War do I need to spell it out for you? The nsa is part of the department of war, i.e. the military. next?
On 12/02/2019 10:51 PM, Punk-Stasi 2.0 wrote:
On Mon, 2 Dec 2019 23:44:33 -0600 "Shawn K. Quinn" <skquinn@rushpost.com> wrote:
On 12/2/19 23:04, %$#$&*@^$![BLEEEP] wrote:
https://www.technologyreview.com/s/614487/meet-americas-newest-military-gian...
NSA != military
https://en.wikipedia.org/wiki/National_Security_Agency
"(NSA) is a national-level intelligence agency of the United States Department of Defense, "
https://en.wikipedia.org/wiki/United_States_Department_of_War
do I need to spell it out for you? The nsa is part of the department of war, i.e. the military.
next?
Also, there's likely overlap between Caltech staff and the NSA.
On Mon, Dec 02, 2019 at 11:02:43PM -0700, Mirimir wrote:
On 12/02/2019 10:51 PM, Punk-Stasi 2.0 wrote:
On Mon, 2 Dec 2019 23:44:33 -0600 "Shawn K. Quinn" <skquinn@rushpost.com> wrote:
On 12/2/19 23:04, %$#$&*@^$![BLEEEP] wrote:
https://www.technologyreview.com/s/614487/meet-americas-newest-military-gian...
NSA != military
https://en.wikipedia.org/wiki/National_Security_Agency
"(NSA) is a national-level intelligence agency of the United States Department of Defense, "
https://en.wikipedia.org/wiki/United_States_Department_of_War
do I need to spell it out for you? The nsa is part of the department of war, i.e. the military.
next?
Also, there's likely overlap between Caltech staff and the NSA.
But surely no overlap between NSA and CIA staff - the NSA are clean skins and would have nothing to do with the CIA's orphanages for blackmail program. Although there was an article or two about pizza being the dominant traffic on certain NSA networks...
On Mon, Dec 02, 2019 at 11:44:33PM -0600, Shawn K. Quinn wrote:
On 12/2/19 23:04, %$#$&*@^$![BLEEEP] wrote:
https://www.technologyreview.com/s/614487/meet-americas-newest-military-gian...
NSA != military
-- Shawn K. Quinn <skquinn@rushpost.com> http://www.rantroulette.com http://www.skqrecordquest.com
Now that's precious :) Next you'll say Google and Microsoft are not USA MIC. And then it's only one small step to say "well gee, the USA military is not really "military" military, they're just, you know, imposing^B protecting, freedom and dumocracy". Google "Disposing brown skins, one droned wedding at a time." "Because, do no evil." "If unsure, just ask Sean K Quinn."
participants (6)
-
coderman
-
grarpamp
-
Mirimir
-
Punk-Stasi 2.0
-
Shawn K. Quinn
-
Zenaan Harkness