Skip to main content

Questions tagged [amazon-braket]

For questions related to Amazon's quantum computing service known as Braket.

Filter by
Sorted by
Tagged with
1 vote
1 answer
196 views

Quantum Circuit evaluation Qiskit vs. AWS Braket SDK

I am examining a simple circuit using both Qiskit and the AWS Braket SDK (Python). The circuit is very simple. ...
badgerduke's user avatar
0 votes
0 answers
60 views

How to Correctly Measure All Qubits in a Quantum Circuit?

Description: I'm currently working on a project that involves running quantum circuits as a hybrid job on the aws tensor network simulator 'tn1'. Error on the Cloudwatch logs:...
Neel's user avatar
  • 11
1 vote
0 answers
78 views

Memory Issue When Executing Quantum Circuit on AWS Braket with qiskit

Description: I'm currently facing memory-related issues while trying to execute quantum circuits as a hybrid job on the aws tensor network simulator 'tn1' using Qiskit. Despite various attempts to ...
Neel's user avatar
  • 11
1 vote
2 answers
66 views

How to Properly Run a Circuit with Qiskit on AWS Braket, AttributeError: 'AwsDevice' object has no attribute 'configuration' by Current Implementation

Description: I'm currently working on a project that involves running quantum circuits as a hybrid job on the aws tensor network simulator 'tn1'. However, I'm encountering some issues when trying to ...
Neel's user avatar
  • 13
1 vote
1 answer
53 views

Implementing UCCSD ansatz in Amazon Braket

Is there a way to directly implement UCCSD ansatz in braket, without manually defining the circuit? Like in qiskit, one can call UCCSD to create the ansatz circuit. Similarly can we do it in braket? ...
F1_light's user avatar
2 votes
1 answer
74 views

Implementing cphase gate on IonQ through Amazon Braket

I am implementing a VQE algorithm where I need controlled phase gate as part of ansatz circuit. I am using Amazon Braket service. Ionq processor however does not support c-phase gate or phase gate. ...
F1_light's user avatar
2 votes
1 answer
83 views

Error 'LocalSimulator' with Googlecolab

I have an error when I want to run the 'LocalSimulator'. I am not inside AWS, its mean I runnig from Google Colab. The code is the same on the notebooks from ...
Sandra Rosales's user avatar
2 votes
2 answers
361 views

How to get QASM code from an Amazon Braket circuit in Python?

As an example, consider the following Circuit defined by using the Python amazon-braket-sdk: ...
SimoneGasperini's user avatar
1 vote
1 answer
197 views

Resolving AWS-Braket - ValidationException: An error occurred (ValidationException) when calling the CreateQuantumTask operation

I have a quantum circuit for the Markovian Reservoir Engineering[MRE] Model, written in cirq (frontend) and trying to run it on Ionq hardware, using qbraid credits. This is all being done on qbraid ...
CuriousMind's user avatar
0 votes
2 answers
60 views

How is Sample Result Type different from Probability Result Type in Amazon Braket?

Sample result type is changing my measurement_counts but its not happening with Probability result type. Why is this happening ? Does Sample result type changes something in the circuit itself ?
seeker's user avatar
  • 35
1 vote
1 answer
150 views

CreateQuantumTask operation: This account is not authorized to use this resource

I have an AWS account with some credits on it. I enabled the following policies: AmazonBraketFullAccess, AmazonBraketJobsExecutionPolicy, AmazonS3FullAccess but I am still getting the following ...
Micheal's user avatar
  • 11
0 votes
1 answer
33 views

retrieve gate errors from rigetti devices via braket

Is it possible to retrieve gate fidelities, T1 and T2 times, etc. from old jobs in a rigetti device via braket and the amazon api?
user2820579's user avatar
3 votes
1 answer
148 views

Classical register implementation in Amazon Braket

How to implement classical register in a quantum circuit in Amazon Braket ? I am trying to preproduce results of a circuit build in qiskit on AWS braket services. Thanks
seeker's user avatar
  • 35
3 votes
2 answers
361 views

How to transform a qiskit quantum circuit to a braket circuit?

I have a quantum circuit in qiskit. Now I want to know is there any way that I can transform it to a braket circuit in AWS? I want to use error mitigation in AWS. I have the circuit in qiskit. But as ...
INDRANIL MAITI's user avatar
2 votes
1 answer
96 views

AWS braket compiler simulation

Is there a way to see the compiled circuit on Braket (Rigetti,IonQ,Oxford) without actually sending the circuit to the QPU? I would like to analyze how the circuit is compiled before sending it for ...
Rui_Libero's user avatar
2 votes
1 answer
166 views

Computing gradients in parallel with cost from probs (Pennylane-Braket)

Do circuits that measure probabilities instead of expectation values benefit from parallel execution? The Computing gradients in parallel with Amazon Braket tutorial shows how the multiple device ...
ryanhill1's user avatar
  • 2,503
1 vote
1 answer
190 views

How to apply mid-circuit measurement and measurement based conditional operations in `amazon-braket`?

Is there any method to apply mid circuit measurements in amazon-braket? I'm implementing a circuit that has few operations conditioned to measurement. In ...
Devesh's user avatar
  • 63
1 vote
1 answer
119 views

Is there any alternative for `qiskit.initialize` in aws braket for running circuit on `Ionq Device`?

I'm trying to run a quantum circuit created in Qiskit, on Ionq Device using qiskit_braket_provider. Getting some error while transpiling the circuit because circuit ...
Devesh's user avatar
  • 63
3 votes
1 answer
150 views

How to extract per shots measurement result from ionq device using qiskit_braket_provider?

I'm running a circuit on ionq device using qiskit_braket_provider. I want to extract per shot measurement results. While running ...
Devesh's user avatar
  • 63
2 votes
1 answer
233 views

Partial Measurement in AWS Braket

Is there a way to do partial Measurement in AWS Braket? Basically, if I have a circuit with $N$ qubits, can I measure only $n$ qubits out of them with the result type "expectation"?
Jay Shah's user avatar
3 votes
2 answers
156 views

Is there a way to get the controlled version of a AWS Braket Unitary?

In qiskit we can simply define a custom unitary $U$ and get its controlled version $C-U$ with the method .control(). So, is there a way to do the same in AWS Braket?...
Jay Shah's user avatar
3 votes
1 answer
219 views

I would like to use Open QASM 3 what if any backends can I use to?

From my limited understanding Azure Quantum and IBM Qiskit backends do not support OpenQASM 3. However, Amazon Braket does support a subset of Open QASM 3 (proof). What is the best way/backend to test ...
EXA_Q's user avatar
  • 31
0 votes
2 answers
159 views

AWS braket python sdk: user is not authorized to perform on quantum device

I have installed boto3, aws cli, and python-braket-sdk. I have run aws configure, and config with my IAM user. My IAM user isn't root user, but it has ...
voxter's user avatar
  • 111
2 votes
1 answer
276 views

How to convert between little/big-endian unitary forms in Braket?

As noted in this post, the Amazon Braket unitary calculation method as_unitary has been deprecated (#325) as it uses little-endian qubit order. The new, big-endian method is to_unitary. Here's a code ...
ryanhill1's user avatar
  • 2,503
4 votes
1 answer
321 views

Qiskit unable to transpile the circuit for Rigetti Aspen M 1 on AWS

I am trying to run a Qiskit QAOA algorithm on AWS Rigetti Aspen M 1 Backend using qiskit braket provider. However qiskit is not able to properly transpile the circuit ...
3.14159's user avatar
  • 41
3 votes
1 answer
120 views

AWS-Rigetti for beginners

I'm interested in learning AWS Braket. Can someone help with basics like creating a circuit and sending a job to the hardware and at the same time how to automatically download the calibration data ...
Monica's user avatar
  • 311
3 votes
1 answer
275 views

How to Properly Cite Amazon Braket?

This is a fairly basic question, but how does one cite Braket in BibTeX style? A similar question was asked for Cirq in How to cite cirq in a scientific article? but I am unable to find a similar page ...
Ken Robbins's user avatar
2 votes
1 answer
167 views

Download results in amazon braket

Suppose I have the simple circuit bell = Circuit().h(0).cnot(control=0, target=1) and I am running it in a notebook inside AWS. How can I download the results to ...
user2820579's user avatar
5 votes
2 answers
149 views

How to get IonQ Task's Native Instructions/Decomposition (Amazon Braket)

When you run something on one of IBM's free computers, you can look up what it actually ran; i.e. it gives you the decomposition of the circuit you told it to run. When running on IonQ with Amazon's ...
Ken Robbins's user avatar
2 votes
1 answer
59 views

Applying QPE on a large matrix on amazon-braket

I'm running a QPE algorithm on the amazon-braket but it can only apply on a 22 or 44 matrix, when I want to expand it into a 5*5 or more, it will come an error. As I know, there is no theoretical ...
Monday Zhou's user avatar
4 votes
1 answer
201 views

Expected value of Z operator in GHZ state

I'm following this notebook written using amazon-braket, and there's a statement I don't understand ... To reiterate, the following output is expected: $$\left|\mathrm{GHZ}\right> = \frac{1}{\sqrt{...
caverac's user avatar
  • 143
1 vote
1 answer
664 views

Is there a quantum circuit builder package that allows you to import/export a circuit as a JSON?

I've done a superficial search in each of the qiskit, cirq, and braket open source repositories for such a feature, but can't find any explicit examples of this functionality. I'm wondering if anyone ...
Jay Muntz's user avatar
  • 147
11 votes
2 answers
494 views

AWS Braket Backend for Qiskit?

Is there a working AWS Braket backend provider for Qiskit 0.29 that can be used with the MinimumEigenOptimizer interface? The qiskit-aws-braket-provider package is unfortunately not working.
Nepomuk Hirsch's user avatar
3 votes
2 answers
266 views

How to get the matrix representation of a circuit in Amazon braket?

Say I define a circuit using the amazon-braket-sdk, for example: ...
Jay Muntz's user avatar
  • 147