amazon-braket-pennylane-plugin
The amazon-braket-pennylane-plugin package makes Braket devices usable with PennyLane.
Documentation index: Amazon Braket PennyLane plugin documentation
Throughout PennyLane SDK code and documentation, import pennylane as qp and import pennylane as qml are both valid alias conventions, although qp is newer and preferred (PennyLane announcement).
Running on Braket
Refer to the example notebooks for runnable Braket workflows:
- Getting started with PennyLane
- Parallelized optimization of quantum circuits
- Using PennyLane with Braket Hybrid Jobs
Use qp.execute to execute a collection of independent tapes. On a device that supports program sets, the plugin submits them as one program set.
The plugin registers four devices:
| Device | Runs on | Program type |
|---|---|---|
braket.aws.qubit |
the Braket service | gate model |
braket.aws.ahs |
the Braket service | analog Hamiltonian simulation |
braket.local.qubit |
the local machine | gate model |
braket.local.ahs |
the local machine | analog Hamiltonian simulation |
References
- Plugin documentation:
- Source and packaging:
- Developer guide:
- Upstream:
- Local references: