statements
global_r
global_r(axis_angle: float, rotation_angle: float)
Apply a global R gate over all zones.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
axis_angle | float | The angle of the axis for the R gate. | required |
rotation_angle | float | The angle of rotation for the R gate. | required |
Source code in src/bloqade/shuttle/dialects/gate/_interface.py
52 53 54 55 56 57 58 59 60 61 |
|
global_rz
global_rz(rotation_angle: float)
Apply a global Rz gate over all zones.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
rotation_angle | float | The angle of rotation for the Rz gate. | required |
Source code in src/bloqade/shuttle/dialects/gate/_interface.py
64 65 66 67 68 69 70 71 72 |
|
local_r
local_r(
axis_angle: float,
rotation_angle: float,
zone: grid.Grid[Any, Any],
) -> None
Apply a local Rz gate to a zone.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
rotation_angle | float | The angle of rotation for the Rz gate. | required |
zone | GridType[Any, Any] | The grid zone where the gate is applied. | required |
Source code in src/bloqade/shuttle/dialects/gate/_interface.py
38 39 40 41 42 43 44 45 46 47 48 49 |
|
local_rz
local_rz(
rotation_angle: float, zone: grid.Grid[Any, Any]
) -> None
Apply a local Rz gate to a zone.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
rotation_angle | float | The angle of rotation for the Rz gate. | required |
zone | GridType[Any, Any] | The grid zone where the gate is applied. | required |
Source code in src/bloqade/shuttle/dialects/gate/_interface.py
26 27 28 29 30 31 32 33 34 35 |
|
top_hat_cz
top_hat_cz(
zone: grid.Grid[Any, Any],
upper_buffer: float = 3.0,
lower_buffer: float = 3.0,
) -> None
Apply a top hat CZ gate.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
zone | GridType[Any, Any] | The grid zone where the gate is applied. | required |
upper_buffer | float | The upper buffer distance for the top hat above the zone. | 3.0 |
lower_buffer | float | The lower buffer distance for the top hat below the zone. | 3.0 |
Source code in src/bloqade/shuttle/dialects/gate/_interface.py
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
|