Skip to content

Commit b4c090f

Browse files
fix typo in doc
1 parent 43a8bba commit b4c090f

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

docs/source/advance.rst

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The larger bond dimension we set, the better approximation ratio (of course the
1919
Stacked gates
2020
----------------
2121

22-
Stacked gates is a simple grammar sugar to make constructing the circuit easily when multiple gate of the same type are applied on the different qubits, namely, the index for gate function can accept list of ints instead of one integer.
22+
Stacked-gate is a simple syntactic sugar rendering circuit construction easily when multiple gate of the same type are applied on different qubits, namely, the index for gate call can accept list of ints instead of one integer.
2323

2424
.. code-block:: python
2525
@@ -98,12 +98,14 @@ Analog circuit simulation
9898

9999
TensorCircuit-NG support digital-analog hybrid simulation (say cases in Rydberg atom arrays), where the analog part is simulated by the neural differential equation solver given the API to specify a time dependent Hamiltonian.
100100
The simulation is still differentiable and jittable. Only jax backend is supported for analog simulation as the neural ode engine is built on top of jax.
101+
101102
This utility is super helpful for optimizing quantum control or investigating digital-analog hybrid variational quantum schemes.
102-
We support two modes of analog simulation, where :py:meth:`tensorcircuit.experimentaql.evol_global` evolve the state via a Hamiltonian define on the whole system, and :py:meth:`tensorcircuit.experimentaql.evol_local` evolve the state via a Hamiltonian define on a local subsystem.
103+
104+
We support two modes of analog simulation, where :py:meth:`tensorcircuit.experimental.evol_global` evolve the state via a Hamiltonian define on the whole system, and :py:meth:`tensorcircuit.experimental.evol_local` evolve the state via a Hamiltonian define on a local subsystem.
103105

104106
.. Note::
105107

106-
``evol_global`` use sparse Hamiltonian while ``evol_local`` use dense Hamiltonian.
108+
``evol_global`` uses sparse Hamiltonian while ``evol_local`` uses dense Hamiltonian.
107109

108110

109111
.. code-block:: python
@@ -155,9 +157,9 @@ We wrap the tf-backend `SavedModel` as very easy-to-use function :py:meth:`tenso
155157

156158
For the JAX-backend quantum function, one can first transform them into the tf-backend function via JAX experimental support: `jax2tf <https://github.com/google/jax/tree/main/jax/experimental/jax2tf>`_.
157159

158-
**Updates**: jax now also support jitted function save/load via ``export`` module, see `jax documentation <https://jax.readthedocs.io/en/latest/export/export.html>_`.
160+
**Updates**: jax now also support jitted function save/load via ``export`` module, see `jax documentation <https://jax.readthedocs.io/en/latest/export/export.html>`_.
159161

160-
We wrape the jax function export capability in ``experimental`` module and can be used as follows
162+
We wrap the jax function export capability in ``experimental`` module and can be used as follows
161163

162164
.. code-block:: python
163165

0 commit comments

Comments
 (0)