Setting the file. One moment.
Subchapter 123.4
references/libraries-pennylane.mdMarkdown4 KBView on GitHub
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 (opens in a new tab)).
Refer to the example notebooks for runnable Braket workflows:
Use qp.execute (opens in a new tab) 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 |