Skip to content

Commit c4c2b21

Browse files
authored
Merge branch 'main' into david/move-analog-docs
2 parents c6fe60b + b842435 commit c4c2b21

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

docs/digital/cirq_interop/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ For details on each of these, please see the documentation pages below:
1010
* [Obtaining a squin kernel function from a `cirq.Circuit`](./cirq_to_squin.md)
1111
* [Emitting a `cirq.Circuit` from a squin kernel](./squin_to_cirq.md)
1212

13-
For the API reference, please see the `cirq` submodule in the [squin API docs](../../reference/squin.md).
13+
For the API reference, please see the `cirq` submodule in the [squin API docs](../../reference/bloqade-circuit/src/bloqade/squin.md).
1414

1515
## TL;DR
1616

docs/digital/dialects_and_kernels.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Bloqade provides a set of pre-defined dialects, with which you can write your programs and circuits.
44

5-
Once you have your kernel, you can inspect their intermediate representation (IR), apply different optimizations using [compiler passes](../quick_start/circuits/compiler_passes/index.md), or run them on a [(simulator) device](./simulator_device/simulator_device.md).
5+
Once you have defined your kernel, you can inspect their intermediate representation (IR), apply different optimizations using [compiler passes](../quick_start/circuits/compiler_passes/index.md), or run them on a [(simulator) device](./simulator_device/simulator_device.md).
66

77
!!! info
88
A **kernel** function is a piece of code that runs on specialized hardware such as a quantum computer.
@@ -43,7 +43,7 @@ Here's a quick overview of the most important available dialects.
4343
## qasm2
4444

4545
There are a number of dialects with which you can write kernels that represent QASM2 programs.
46-
See also the [qasm2 API reference](../reference/qasm2.md)
46+
See also the [qasm2 API reference](../../reference/bloqade-circuit/src/bloqade/qasm2/)
4747

4848
### qasm2.main
4949

@@ -205,11 +205,11 @@ def main():
205205
main.print()
206206
```
207207

208-
See also the [squin API reference](../reference/squin.md)
208+
See also the [squin API reference](../../reference/bloqade-circuit/src/bloqade/squin/)
209209

210210
## stim
211211

212212
!!! warning
213213
Sorry folks, still under construction.
214214

215-
See also the [stim API reference](../reference/stim.md)
215+
See also the [stim API reference](../../reference/bloqade-circuit/src/bloqade/stim/)

docs/digital/examples/interop/noisy_ghz.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@
4141
# ## Noise model implementations
4242
#
4343
# For now, these noise models are implemented as [`cirq.NoiseModel`](https://quantumai.google/reference/python/cirq/NoiseModel) classes, so that you can use with any circuit you build using `cirq`.
44-
# They are part of the [`bloqade.cirq_utils`](../../../reference/cirq_utils) submodule.
44+
# They are part of the [`bloqade.cirq_utils`](../../../../reference/bloqade-circuit/src/bloqade/cirq_utils) submodule.
4545
#
46-
# Support for using these models with e.g. [squin](../dialects_and_kernels.md) will follow in the future.
47-
# However, you can already rely on [interoperability with cirq](../cirq_interop) in order to convert (noisy) circuits to squin kernels and use other parts of the compiler pipeline.
46+
# Support for using these models with e.g. [squin](../../../dialects_and_kernels) will follow in the future.
47+
# However, you can already rely on [interoperability with cirq](../../../cirq_interop) in order to convert (noisy) circuits to squin kernels and use other parts of the compiler pipeline.
4848

4949
# %% [markdown]
5050
# ## GHZ preparation and noise
@@ -190,7 +190,7 @@ def ghz_circuit(n: int) -> cirq.Circuit:
190190
# Whereas, in the two-zone model, qubits are moved between the gate and storage zones.
191191
#
192192
# You could now think about how to optimize the circuits in order to reduce their sensitivity for noise.
193-
# For example, you can [reduce the circuit depth](../ghz)
193+
# For example, you can [reduce the circuit depth](../../qasm2/ghz)
194194

195195
# %% [markdown]
196196
# ### Modifying the noise
@@ -214,7 +214,7 @@ def ghz_circuit(n: int) -> cirq.Circuit:
214214
#
215215
# The noise processes are further split into local and global noise channels and separated by their cause.
216216
#
217-
# For a full list of noise parameters and a description of each one, please refer to the move noise model in [`bloqade.qasm2.dialects.noise.model.MoveNoiseModelABC`](../../../reference/qasm2/#bloqade.qasm2.dialects.noise.model.MoveNoiseModelABC)
217+
# For a full list of noise parameters and a description of each one, please refer to the move noise model in [`bloqade.qasm2.dialects.noise.model.MoveNoiseModelABC`](../../../../reference/bloqade-circuit/src/bloqade/qasm2/dialects/noise/model#MoveNoiseModelABC)
218218
#
219219
# We can use those parameters in order to modify the strength of the noise.
220220
#

docs/digital/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The infrastructure behind these compilers is built on top of [Kirin](https://que
1515
It is easiest to learn how to use this package by checking out the [examples & tutorials section](tutorials_index.md), where we show how you can build and study different quantum programs written in different DSLs.
1616
You can also find the corresponding scripts in [jupytext format](https://jupytext.readthedocs.io/en/latest/) at the [bloqade repository](https://github.com/QuEraComputing/bloqade) under `docs/digital/examples/`.
1717

18-
Finally, if you want the full details on the API, please refer to the [API reference documentation](../reference/).
18+
Finally, if you want the full details on the API, please refer to the [API reference documentation](../../reference/bloqade-circuit/src/bloqade/device/).
1919

2020
## Installation
2121

@@ -42,7 +42,7 @@ pip install bloqade-circuit[cirq,qasm2,stim]
4242

4343
## TL;DR
4444

45-
Here's a GHZ preparation circuit written in the [`squin`](../reference/squin.md) dialect:
45+
Here's a GHZ preparation circuit written in the [`squin`](../../reference/bloqade-circuit/src/bloqade/squin/) dialect:
4646

4747
```python
4848
from bloqade import squin

docs/digital/simulator_device/tasks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
!!! warning
44
Sorry folks, still under construction.
55

6-
For now, please check the [API reference](../../reference/task.md).
6+
For now, please check the [API reference](../../reference/bloqade-circuit/src/bloqade/task.md).

0 commit comments

Comments
 (0)