Atom arrangement
AtomArrangement ¶
Bases: ProgramStart
, TransformTrait
enumerate ¶
figure ¶
rydberg_interaction ¶
calculate the Rydberg interaction matrix.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
**assignments | the values to assign to the variables in the register. | {} |
Returns:
Name | Type | Description |
---|---|---|
NDArray | NDArray | the Rydberg interaction matrix in the lower triangular form. |
Source code in src/bloqade/ir/location/base.py
Chain ¶
Bases: BoundedBravais
Chain lattice.
- 1D lattice
- primitive (cell) vector(s)
- a1 = (1,0).
- unit cell (1 atom(s))
- loc (0,0)
Parameters:
Name | Type | Description | Default |
---|---|---|---|
L | int | number of sites in the chain | required |
lattice_spacing | (Scalar, Real) | lattice spacing. Defaults to 1.0. | 1.0 |
- Possible Next: continue with
.
to see possible next step in auto-prompt supported setting (IPython, IDE ...)
Source code in src/bloqade/ir/location/bravais.py
Honeycomb ¶
Bases: BoundedBravais
Honeycomb lattice.
- 2D lattice
- primitive (cell) vector(s)
- a1 = (1, 0)
- a2 = (½, sqrt(3)/2)
- unit cell (2 atom(s))
- loc1 (0, 0)
- loc2 (½, 1/(2*sqrt(3))
Parameters:
Name | Type | Description | Default |
---|---|---|---|
L1 | int | number of unit cells in linear direction. n_atoms = L1 * L1 * 2. | required |
L2 | Optional[int] | number of unit cells in direction a2. n_atoms = L1 * L2 * 2, default is L1. | None |
lattice_spacing | (Scalar, Real) | lattice spacing. Defaults to 1.0. | 1.0 |
- Possible Next: continue with
.
to see possible next step in auto-prompt supported setting (IPython, IDE ...)
Source code in src/bloqade/ir/location/bravais.py
Kagome ¶
Bases: BoundedBravais
Kagome lattice.
- 2D lattice
- primitive (cell) vector(s)
- a1 = (1, 0)
- a2 = (½, sqrt(3)/2)
- unit cell (3 atom(s))
- loc1 (0, 0)
- loc2 (0.5, 0)
- loc3 (0.25 ,0.25sqrt(3))
Parameters:
Name | Type | Description | Default |
---|---|---|---|
L1 | int | number of sites in linear direction. n_atoms = 3 * L1 * L1. | required |
L2 | Optional[int] | number of unit cells along a2 direction, n_atoms = 3 * L1 * L2, default is L1. | None |
lattice_spacing | (Scalar, Real) | lattice spacing. Defaults to 1.0. | 1.0 |
- Possible Next: continue with
.
to see possible next step in auto-prompt supported setting (IPython, IDE ...)
Source code in src/bloqade/ir/location/bravais.py
Lieb ¶
Bases: BoundedBravais
Lieb lattice.
- 2D lattice
- primitive (cell) vector(s)
- a1 = (1, 0)
- a2 = (0, 1)
- unit cell (3 atom(s))
- loc1 (0, 0)
- loc2 (0.5, 0)
- loc3 (0 ,0.5)
Parameters:
Name | Type | Description | Default |
---|---|---|---|
L1 | int | number of unit cells in linear direction. n_atoms = 3* L1 * L1. | required |
L2 | Optional[int] | number of unit cells along a2 direction, n_atoms = 3 * L1 * L2, default is L1. | None |
lattice_spacing | (Scalar, Real) | lattice spacing. Defaults to 1.0. | 1.0 |
- Possible Next: continue with
.
to see possible next step in auto-prompt supported setting (IPython, IDE ...)
Source code in src/bloqade/ir/location/bravais.py
Rectangular ¶
Bases: BoundedBravais
Rectangular lattice.
- 2D lattice
- primitive (cell) vector(s)
- a1 = (1,0)
- a2 = (0,1)
- unit cell (1 atom(s))
- loc (0,0)
Parameters:
Name | Type | Description | Default |
---|---|---|---|
width | int | number of sites in x direction. | required |
height | int | number of sites in y direction. | required |
lattice_spacing_x | (Scalar, Real) | lattice spacing. Defaults to 1.0. | 1.0 |
lattice_spacing_y | (Scalar, Real) | lattice spacing in y direction. optional. | None |
- Possible Next: continue with
.
to see possible next step in auto-prompt supported setting (IPython, IDE ...)
Source code in src/bloqade/ir/location/bravais.py
Square ¶
Bases: BoundedBravais
Square lattice.
- 2D lattice
- primitive (cell) vector(s)
- a1 = (1,0)
- a2 = (0,1)
- unit cell (1 atom(s))
- loc (0,0)
Parameters:
Name | Type | Description | Default |
---|---|---|---|
L1 | int | number of sites in linear direction. n_atoms = L1 * L1. | required |
L2 | Optional[int] | number of sites in direction a2. n_atoms = L1 * L2, default is L1 | None |
lattice_spacing | (Scalar, Real) | lattice spacing. Defaults to 1.0. | 1.0 |
- Possible Next: continue with
.
to see possible next step in auto-prompt supported setting (IPython, IDE ...)
Source code in src/bloqade/ir/location/bravais.py
Triangular ¶
Bases: BoundedBravais
Triangular lattice.
- 2D lattice
- primitive (cell) vector(s)
- a1 = (1, 0)
- a2 = (½, sqrt(3)/2)
- unit cell (1 atom(s))
- loc (0, 0)
Parameters:
Name | Type | Description | Default |
---|---|---|---|
L | int | number of sites in linear direction. n_atoms = L * L. | required |
L2 | Optional[int] | number of sites along a2 direction, n_atoms = L1 * L2, default is L1. | None |
lattice_spacing | (Scalar, Real) | lattice spacing. Defaults to 1.0. | 1.0 |
- Possible Next: continue with
.
to see possible next step in auto-prompt supported setting (IPython, IDE ...)