Skip to content

Commit a0adb51

Browse files
committed
adding migration guide
1 parent aa7ce04 commit a0adb51

File tree

3 files changed

+43
-0
lines changed

3 files changed

+43
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
[![Documentation](https://img.shields.io/badge/Documentation-6437FF)](https://queracomputing.github.io/bloqade-analog/latest/)
1414
[![DOI](https://zenodo.org/badge/629628885.svg)](https://zenodo.org/doi/10.5281/zenodo.11114109)
1515

16+
!!! warning
17+
Bloqade has been restructed to make room for new features and improvements. Please refer to the [migration guide](https://queracomputing.github.io/bloqade-analog/dev/home/migration.html) for more information.
18+
19+
1620
# Welcome to Bloqade -- QuEra's Neutral Atom SDK
1721

1822
## What is Bloqade?

docs/home/migration.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Migrating to Bloqade Analog
2+
3+
## Introduction
4+
5+
In order to make room for more features inside the Bloqade ecosystem, we have created a new package to take the place of the old `bloqade` package. The new package is called `bloqade-analog`. The old package `bloqade` will house a namespace package for other features such as our new Bloqade Digital package with support for circuit-based quantum computers!
6+
7+
## Installation
8+
9+
You can install the package with `pip` in your Python environment of choice via:
10+
11+
```sh
12+
pip install bloqade-analog
13+
```
14+
15+
## Migration
16+
17+
The new package is a drop-in replacement for the old one. You can simply replace `import bloqade` with `import bloqade.analog` or `from bloqade.analog import ...` in your code. Everything else should work as before.
18+
19+
## Example
20+
21+
lets say your header of your python script looks like this:
22+
23+
```python
24+
from bloqade import var
25+
from bloqade.atom_arrangement import Square
26+
...
27+
```
28+
You can simply replace it with:
29+
30+
```python
31+
from bloqade.analog import var
32+
from bloqade.analog.atom_arrangement import Square
33+
...
34+
```
35+
36+
## Having trouble, comments, or concerns?
37+
38+
Please open an issue on our [GitHub](https://github.com/QuEraComputing/bloqade-analog/issues)

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ edit_uri: 'edit/main/docs/'
1111
nav:
1212
- Home:
1313
- index.md
14+
- Migration Guide to Bloqade Analog: home/migration.md
1415
- Quickstart: home/quick_start.md
1516
- Background: home/background.md
1617
- Gotchas: home/gotchas.md

0 commit comments

Comments
 (0)