bloqade.analog.builder.backend.braket.BraketDeviceRoute
classBraketDeviceRoute¶source
bloqade.analog.builder.backend.braket.BraketDeviceRoute
Bases: Builder
class BraketDeviceRoutemethoddevice¶source
bloqade.analog.builder.backend.braket.BraketDeviceRoute.device
def device(device_arn) -> BraketHardwareRoutineSpecify 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
Parameters
| Name | Type | Description |
|---|---|---|
device_arn | — |
Returns
BraketHardwareRoutine
methodaquila¶source
bloqade.analog.builder.backend.braket.BraketDeviceRoute.aquila
def aquila() -> BraketHardwareRoutineSpecify 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
Returns
BraketHardwareRoutine
methodlocal_emulator¶source
bloqade.analog.builder.backend.braket.BraketDeviceRoute.local_emulator
def local_emulator() -> BraketLocalEmulatorRoutineSpecify the Braket local emulator to submit your program to.
- The number of shots you specify in the subsequent
.runmethod 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
Returns
BraketLocalEmulatorRoutine