Skip to content

Commit

Permalink
Update gen_ai cheat sheet
Browse files Browse the repository at this point in the history
  • Loading branch information
ykharkov committed Jun 19, 2024
1 parent f0c4755 commit 728ec21
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion doc/genai_cheat_sheet.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,21 @@ instruction = Instruction(CNot(), target=[target], control=[control])
circuit.add(instruction)
```


Create a random circuit:

```
from braket.experimental.auxiliary_functions import random_circuit
# Code here
local_simulator = LocalSimulator()
gate_set = [CNot, Rx, Rz, CPhaseShift, XY]
circuit = random_circuit(num_qubits=5,
num_gates=30,
gate_set=gate_set,
seed=42)
```

**FreeParameters (parametric gates)**

Imports
Expand Down Expand Up @@ -283,7 +298,7 @@ Rydberg atom devices Aquila (AHS device from QuEra):
Rigetti Aspen M3 device:
`"arn:aws:braket:us-west-1::device/qpu/rigetti/Aspen-M-3"`

IQM Garnet device (20 qubits):
IQM Garnet device (20 qubits, superconducting QPU):

`"arn:aws:braket:eu-north-1::device/qpu/iqm/Garnet"`

Expand Down

0 comments on commit 728ec21

Please sign in to comment.