BraketProvider
Runtime integration for streamlined access to Amazon Braket supported devices.
API Reference: qbraid.runtime.braket
Installation & Setup
To interface with Amazon Braket supported devices,
install the braket
extra:
Then, follow instructions to configure your AWS credentials. Or, install the qBraid-CLI and use commands to enable Amazon Braket jobs using your qBraid API key.
Basic Usage
Submit a Quantum Task to an AWS device using the BraketProvider
:
Now that we’ve instantiated our device, in this case the AWS SV1 simulator, we can construct a quantum circuit and submit a task using the .run
method:
We now have job
which is of type BraketQuantumTask
, which inherits from QuantumJob
. To see the results,
we can do the following:
See how to visualize these results in the Visualization section.