Braket
BraketDeviceRoute ¶
Bases: Builder
Source code in src/bloqade/builder/base.py
aquila ¶
Specify QuEra's Aquila QPU on Braket to submit your program to.
The number of shots you specify in the subsequent .run
method will either: - dictate the number of times your program is run - dictate the number of times per parameter your program is run if you have a variable with batch assignments/intend to conduct a parameter sweep
- Possible next steps are:
...aquila().run(shots)
: To submit to hardware and WAIT for results (blocking)...aquila().run_async(shots)
: To submit to hardware and immediately allow for other operations to occur
Source code in src/bloqade/builder/backend/braket.py
device ¶
Specify QPU based on the device ARN on Braket to submit your program to.
The number of shots you specify in the subsequent .run
method will either: - dictate the number of times your program is run - dictate the number of times per parameter your program is run if you have a variable with batch assignments/intend to conduct a parameter sweep
- Possible next steps are:
...device(arn).run(shots)
: To submit to hardware and WAIT for results (blocking)...device(arn).run_async(shots)
: To submit to hardware and immediately allow for other operations to occur
Source code in src/bloqade/builder/backend/braket.py
local_emulator ¶
Specify the Braket local emulator to submit your program to.
- The number of shots you specify in the subsequent
.run
method will either:- dictate the number of times your program is run
- dictate the number of times per parameter your program is run if you have a variable with batch assignments/intend to conduct a parameter sweep
- Possible next steps are:
...local_emulator().run(shots)
: to submit to the emulator and await results
Source code in src/bloqade/builder/backend/braket.py
BraketService ¶
Bases: Builder
Source code in src/bloqade/builder/base.py
braket property
¶
Specify the Braket backend. This allows you to access the AWS Braket local emulator OR go submit things to QuEra hardware on AWS Braket service.
- Possible Next Steps are:
...braket.aquila()
: target submission to the QuEra Aquila QPU...braket.local_emulator()
: target submission to the Braket local emulator