Questions tagged [amazon-braket]
For questions related to Amazon's quantum computing service known as Braket.
27
questions
2
votes
2
answers
263
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:
...
1
vote
1
answer
106
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 ...
0
votes
2
answers
51
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 ?
1
vote
1
answer
78
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 ...
0
votes
1
answer
27
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?
3
votes
1
answer
118
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
3
votes
2
answers
173
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 ...
2
votes
1
answer
91
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 ...
2
votes
1
answer
115
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 ...
1
vote
1
answer
122
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 ...
1
vote
1
answer
90
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 ...
3
votes
1
answer
119
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 ...
2
votes
1
answer
154
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"?
3
votes
2
answers
134
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?...
3
votes
1
answer
160
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 ...
0
votes
2
answers
128
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 ...
2
votes
1
answer
186
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 ...
3
votes
1
answer
242
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
votes
1
answer
111
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 ...
3
votes
1
answer
191
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 ...
2
votes
1
answer
136
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 ...
5
votes
2
answers
120
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 ...
2
votes
1
answer
51
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 ...
4
votes
1
answer
174
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{...
1
vote
1
answer
491
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 ...
11
votes
2
answers
444
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.
3
votes
2
answers
215
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:
...