Q: What is Amazon Braket?
Amazon Braket is a fully managed service that helps you get started with quantum computing.
Q: What can I do with Amazon Braket?
With Amazon Braket, you can learn how to program quantum computers and explore potential applications. You can design your own quantum algorithms from scratch or choose from a set of pre-built algorithms. Amazon Braket provides an SDK that you can run locally on a laptop, or in Amazon Braket’s fully managed notebook environment. The SDK includes a quantum circuit simulator. The Amazon Braket service also provides fully managed quantum circuit simulators that enable you to run your algorithms on AWS managed infrastructure to validate and test your implementation. When you are ready, you can run your algorithm on Amazon Braket using different quantum computers, or quantum processing units (QPUs), from our hardware providers.
Q: How does Amazon Braket integrate with other AWS services?
Amazon Braket provides integrations with Amazon CloudWatch, Amazon EventBridge, AWS Identity and Access Management (IAM), and AWS CloudTrail for monitoring, event-based processing, user access management, and logs. Your simulation and quantum compute results will be stored in Amazon S3 in your account.
Q: Why should our company be thinking about quantum computing today?
Quantum computing is an early stage technology but its long-term impact promises to be transformational for many industries. Developing quantum algorithms and designing useful quantum applications require new skills and potentially radically different approaches. Building this expertise will take time and requires access to quantum technologies and programming tools. Amazon Braket and the Amazon Quantum Solutions Lab help organizations assess the state of current technologies, identify how they might impact their business, and prepare for the future.
Q: Why is the service named “Braket”?
We named our service after the bra-ket notation, a standard notation in quantum mechanics. It was introduced by Paul Dirac in 1939 to describe the state of quantum systems, and it is also known as the Dirac notation.
Q: Can I perform academic research on Amazon Braket?
Yes. Scientists at universities around the world perform research on Amazon Braket. You can get started in the Amazon Braket console, our Github repository, or request funding for use of Amazon Braket through the AWS Cloud Credit for Research program. In the application process, if you don’t have a URL for the pricing calculator, please submit your application with a placeholder.
Q: What is the Amazon Braket SDK?
The Amazon Braket Software Development Kit (SDK) is a technology-agnostic developer framework that allows you to develop quantum algorithms and run them on different quantum computing hardware and simulators through the Amazon Braket service. The SDK helps you track and monitor quantum tasks submitted to Amazon Braket and evaluate the results. The Amazon Braket SDK includes a local quantum circuit simulator that you can use to test your algorithms.
Q: How can I access the Amazon Braket SDK?
Amazon Braket provides fully managed Jupyter notebooks that come pre-installed with the Amazon Braket SDK and example tutorials that help you get started quickly. The Amazon Braket SDK is open sourced so you can use Amazon Braket from any local integrated development environment (IDE) of your choice.
Q: Does the Amazon Braket SDK support quantum annealing?
Yes. Amazon Braket provides a plugin that allows you to program natively in Ocean, D-Wave's programming framework for quantum annealing. Alternatively, you can program directly in the Amazon Braket SDK. To get started, please visit the service documentation.
Q: What is PennyLane?
PennyLane is an open source software library for variational quantum computing that integrates with Amazon Braket. Variational quantum computing is a paradigm that utilizes hybrid quantum-classical algorithms to iteratively find solutions to computational problems in a variety of domains, such as chemistry, optimization, and quantum machine learning. Built around the concept of quantum differentiable programming, PennyLane allows you to train quantum circuits the same way as neural networks. It provides interfaces to popular machine learning libraries, including PyTorch and TensorFlow, to make training your quantum algorithms easy and intuitive. You can learn more about PennyLane at https://pennylane.ai, and read our developer guide here.
Q: Why should I use PennyLane on Amazon Braket?
Near-term quantum computing applications in chemistry, optimization and quantum machine learning are based on variational quantum algorithms that utilize iterative processing between classical and quantum computers. PennyLane makes it easy to get started and build variational and quantum machine learning algorithms on Amazon Braket. It allows you to use familiar tools from machine learning to build and train your algorithms. PennyLane provides a chemistry library, qchem, which you can use to map a computational chemistry problem to a quantum computing formulation with a few lines of code.
Amazon Braket helps you to innovate faster with PennyLane. When testing and fine tuning your algorithms, our fully managed, high-performance simulators speed up training by 10x or more, compared to simulating your algorithms locally.
Q: How can I access PennyLane?
Amazon Braket notebooks come pre-configured with PennyLane, and our tutorial notebooks help you get started quickly. Alternatively, you can install the Amazon Braket PennyLane plugin for any IDE of your choice. The plugin is open source and can be downloaded from here. You can find the PennyLane documentation at https://pennylane.ai.
Q: Why do I want to simulate my algorithm?
Quantum circuit simulators run on classical computers. With simulators, you can test your quantum algorithms at a lower cost than using quantum hardware, and without having to wait to access specific quantum machines. Simulation is a convenient way to quickly debug quantum circuits and to troubleshoot and optimize algorithms before progressing to run them on quantum hardware. Classical simulation is also essential to verify the results of near-term quantum computing hardware and study the effects of noise.
Q: What simulators does Amazon Braket offer?
Amazon Braket offers you a choice of four quantum circuit simulators: the local simulator in the SDK, and three fully managed simulators: SV1, a general purpose quantum circuit simulator, DM1 that enables you to simulate the effect of noise on your circuits, and TN1, a high performance tensor network simulator. With these options, you can choose the approach that best suits your requirements.
Q: What is the local simulator?
The local simulator is included in the Amazon Braket SDK at no cost. It can run on your laptop, or within an Amazon Braket managed notebook. You can use it for quick validation of circuit designs. It is well suited for small and medium-scale simulations – up to 25 qubits without noise, or up to 12 qubits with noise, depending on your hardware.
Q: What is the SV1 simulator?
SV1 is a fully managed, high-performance state vector simulator for quantum circuits up to 34 qubits. As a state vector simulator, it takes the full wave function of the quantum state and applies the operations of the circuit to calculate the result. After you have designed and debugged your quantum algorithm using the local simulator in the Amazon Braket SDK, you can use SV1 for scaled testing and research. SV1 automatically scales classical compute resources so you can run up to 35 simulations in parallel.
Q: What is the DM1 simulator?
DM1 is a fully managed, density matrix simulator that enables you to investigate the effects of realistic noise on your quantum algorithms. This can help you develop error-mitigation strategies to get more accurate results from today’s quantum computing devices.
DM1 supports the simulation of circuits up to 17 qubits. It can run up to 35 simulations in parallel, to speed up your experiments. For rapid prototyping and debugging before using DM1, you can use the local noise simulator in the Amazon Braket SDK.
Q: What is the TN1 simulator?
TN1 is a fully managed, high-performance tensor network simulator that is used for structured quantum circuits up to 50 qubits in size. A tensor network simulator encodes quantum circuits into a structured graph to find the best way to compute the outcome of the circuit. TN1 is well suited for simulation of sparse circuits, circuits with local gates, and circuits with inherent structure.
Q: How do I choose between the Amazon Braket managed simulators SV1, TN1 and DM1?
SV1 is a general purpose simulator based on state vector technology. It provides predictable execution and high performance for universal circuits up to 34 qubits.
DM1 is specifically designed to support noise modeling. If you need to study your algorithms under the effects of various types of noise, use DM1.
TN1 is a specialized simulator for certain types of quantum circuits with up to 50 qubits. Consider it for sparse circuits, circuits with local gates and other circuits with inherent structure. Other circuit types, such as those with all-to-all connectivity between qubits, are often better suited to SV1.
Q: Why would I want to simulate noise in my circuits?
Today’s quantum devices are inherently noisy. Every executed operation has a chance of introducing an error. Consequently, the results obtained from a quantum computer generally differ from what is ideally expected. DM1 enables you to study the robustness of your algorithms under the effects of realistic noise, and build error mitigation strategies that help to get more accurate results with today’s quantum computing devices.
Q: Can I run a noiseless circuit on the DM1 simulator?
DM1 can simulate circuits without noise. However, for best performance, we recommend using SV1 for large-scale simulations of noise-free circuits.
Q: Do I have to pick an instance type to run a simulation?
No, if you are using an Amazon Braket managed simulator. When using SV1, TN1, or DM1, Amazon Braket manages the software and infrastructure for you. You just need to provide the circuit to run.
If you are running the local simulator in the SDK on your Amazon Braket managed notebook, it will run on the Amazon instance you have already specified for your notebook.
Q: How do I know if I can run a circuit on TN1?
As long as your circuit is within the qubit number and circuit depth limits described here, TN1 will attempt to simulate it. In contrast to SV1, however, it is not possible to give an accurate estimate of the runtime based on the qubit number and circuit depth alone. During the so-called “rehearsal phase”, TN1 will first try to identify an efficient computational path for your circuit, and estimate the runtime of the next stage, the “contraction phase”. If the estimated contraction time exceeds the TN1 limit, TN1 will not attempt contraction and you pay only for the time spent in the rehearsal phase. To learn more, visit the technical documentation.
Q: Do I have to program or design algorithms differently to use a simulator?
No, with Amazon Braket, you can direct the same quantum circuit to run on any simulators and gate-based quantum hardware available on the service by changing a few lines of code.
Q: Do you offer simulators for annealing problems?
Q: How do I access quantum computers with Amazon Braket?
Running your circuit design or annealing problem on an actual quantum processing unit (QPU) is easy. Once you have created your circuit or problem graph in the Amazon Braket SDK, you can submit your task from within a managed Jupyter notebook or any IDE of your choice, such as PyCharm.
Q: How is running a task on a QPU different from running on a simulator?
The steps to run a quantum task on a QPU are the same as running on a simulator, you simply chose the back-end, or device, when making API calls within the Amazon Braket SDK. They are both compute operations for which you can request different back-ends, or devices through API calls within the Amazon Braket SDK. The choice of device includes the various simulators and quantum computers that are available through the service. Switching from one device to another is as easy as changing a single line of code. Nonetheless, simulators are always available, whereas QPU resources might require wait time.
Q: How do I choose which quantum computers to use?
Some types of quantum computers are particularly well suited to solving specific sets of problems. For example, quantum annealers are typically used to solve combinatorial optimization problems, whereas universal quantum computers can be used to solve many types of problems. There are many factors that determine which type of machine will meet your needs, such as qubit count, qubit fidelity (error rate), qubit connectivity, coherence time, and cost. Full specifications of the quantum computers are provided in the Amazon Braket console.
Q: What quantum computers does Amazon Braket support?
Please click here to learn more about the hardware providers of Amazon Braket.
Q: Where can I find system and performance information on Rigetti QPUs?
Visit Rigetti’s QPU page for system and performance information on the Rigetti QPUs, including gate fidelities and coherence times.
Q: Where can I find best practice recommendations for the IonQ QPU?
Visit the IonQ Best Practices webpage for information on the IonQ QPU’s topology, gates, and best practices.
Q: Where can I find system information about the D-Wave QPUs?
Visit D-Wave’s QPU-Specific Physical Properties page for documentation on Advantage and 2000Q system properties, an image of the working graph, and additional details.
Q: Do my quantum tasks start running immediately on a QPU, or do I have to wait?
Quantum computing is a nascent technology, and quantum computers remain a scarce resource. Different types of quantum computers have different operational characteristics and levels of availability and so process tasks at different rates. If the QPU you select is online and not currently being used, your task will be processed immediately otherwise it will be put in queue. As the QPU becomes available the tasks in the queue are processed in the order they were received. To notify you when your task has been completed Amazon Braket sends status change events to Amazon EventBridge. You can create a rule in EventBridge to specify an action to take, such as using the Amazon Simple Notification Service (SNS) which can send alerts to you through SMS, or other methods such as email, HTTPs, AWS Lambda or Amazon SQS.
Q: Do I need to compile my circuit before I run them on QPUs?
No, not necessarily. Amazon Braket automatically compiles your code for you when you run it. However, you have the option on Rigetti devices to define specific blocks of code that will run as is, without compiler modifications using verbatim compilation. To learn more, see our documentation on Constructing Circuits.
Q: What is the benefit of verbatim compilation?
Quantum circuit compilation transforms a quantum circuit to a compiled circuit, which undergoes qubit allocation, mapping to native gates, and optimization. However, compiler gate optimization can be problematic for researchers and quantum algorithm specialists who are developing benchmarking or error-mitigation circuits, as compiler optimizations remove or reorder gates and redundant components. With verbatim compilation, users can specify parts of circuits or entire circuits to run as is, without any compiler modifications.
Q: How am I charged for using the Amazon Braket?
With Amazon Braket there are no upfront charges, and you only pay for the AWS resources you use. You will be billed separately for each Amazon Braket capability, including access to quantum computing hardware and managed simulators. You will also be billed separately for AWS services provided through Amazon Braket such as Amazon Braket managed notebooks. Please visit our pricing page to learn more about pricing.
Q: How do I track my Amazon Braket usage and spending across different projects?
A: You can use tags to organize your AWS resources by logical groupings that make sense for your team or business, such as cost center, department, or project. In Amazon Braket, you can apply tags to the quantum tasks you create. After creating and applying user-defined tags, you can activate them for cost allocation tracking on the AWS Billing and Cost Management dashboard. AWS uses the tags to categorize your costs and deliver a monthly cost allocation report to you so you can track your AWS costs. Your cost allocation report displays the tag keys as additional columns with the applicable values for each row, so it's easier to track your costs if you use a consistent set of tag keys.
Q: Does AWS provide credits for quantum computing research that uses Amazon Braket?
Yes. Scientists at universities around the world perform research on Amazon Braket using credits provided through the AWS Cloud Credit for Research program. Please submit your proposal at the link above. In the application process, if you don’t have a URL for the pricing calculator, please submit your request with a placeholder.
Q: Does my data leave the AWS environment when I am using the Amazon Braket Services?
Yes, QPUs on Amazon Braket are hosted by our third-party quantum hardware providers. If you use Amazon Braket to access quantum computers, your circuit or annealing problem and associated metadata will be sent to and processed by the hardware providers outside of facilities operated by AWS. Your content is anonymized so that only content necessary to process the quantum task is sent to the quantum hardware providers. AWS account information is not transmitted to them. All data is encrypted at rest and in transit, and is only decrypted for processing. In addition, Amazon Braket hardware providers are not permitted to store or use your content for purposes other than processing your task. Once the circuit completes, the results are returned to Amazon Braket and stored in your Amazon S3 bucket. The security of Amazon Braket third-party quantum hardware providers is periodically audited to ensure standards of network security, access control, data protection, and physical security are met.
Q: Where will my results be stored?
Your results will be stored in Amazon S3. In addition to providing the results of the execution, Amazon Braket also publishes event logs and performance metrics such as completion status and execution time to Amazon CloudWatch.
Q: Can I use Amazon Braket in my Amazon Virtual Private cloud (Amazon VPC)?
Amazon Braket is integrated with AWS PrivateLink, so you can access Amazon Braket from within your Amazon Virtual Private Cloud (Amazon VPC) without requiring the traffic to traverse across the Internet. This reduces exposure to security threats from Internet-based attacks and the risk of sensitive data leakage.
Quantum Solutions Lab
Q: What’s the Quantum Solutions Lab (QSL)?
The Amazon Quantum Solutions Lab is a collaborative research and professional services program staffed with quantum computing experts who can assist you to more effectively explore quantum computing and work to overcome the challenges that arise with this nascent technology. Please visit the Quantum Solutions Lab webpage to get started.
Q: How can I engage with the QSL?
You can request information about engagements with the QSL and our partners by submitting this form, and by working through your AWS account manager.
Q: What is the cost of a QSL engagement?
The cost of QSL engagements vary depending on the length of the engagement and nature of your needs. Please reach out to your account manager for more details.
Q: What's the typical duration of a QSL engagement?
Quantum Solutions Lab engagements typically last from 6 to 12 months.
Q: Do I need to travel to the Lab to participate?
The entire process can be done remotely, if needed, which is likely during the current pandemic. However, typically we meet in person to kick off the engagements and determine a working cadence. After that, we will visit your site as needed and have regular checkpoints using video conferencing, while collaborating remotely on a regular basis.
AWS Center for Quantum Computing
Q: What’s AWS Center for Quantum Computing?
The AWS Center for Quantum Computing is a research program that brings together researchers and engineers from Amazon and academic institutions that are leaders in the field of quantum computing. Together they collaborate on near-term applications, error-correction schemes, hardware architectures, and programming models to explore the development of quantum technologies. We established the AWS Center for Quantum Computing on the campus of California Institute of Technology (Caltech). Today, the Center collaborates with researchers at Caltech, Stanford University, Harvard University, Massachusetts Institute of Technology, and the University of Chicago through the Amazon Scholars program.
Q: What research has the AWS Center for Quantum Computing published?
The AWS Center for Quantum Computing team regularly publishes research and presents scientific papers at conferences such as QIP, APS and IEEE QCE on quantum hardware, algorithms, error correction and other domains. Notable research includes a paper on “Designing a fault-tolerant quantum computer based on Schrödinger-cat qubits.” For other research publications, please see our Amazon.Science Quantum Technologies research area page.