From 19bea68d20f639cc5d8425eebaa29639dc1a8a15 Mon Sep 17 00:00:00 2001 From: Max Rossmannek Date: Tue, 26 Nov 2024 08:07:03 +0100 Subject: [PATCH 1/2] docs: fix broken link --- qiskit_addon_mpf/dynamic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qiskit_addon_mpf/dynamic.py b/qiskit_addon_mpf/dynamic.py index f62e2ae..b1d5010 100644 --- a/qiskit_addon_mpf/dynamic.py +++ b/qiskit_addon_mpf/dynamic.py @@ -63,7 +63,7 @@ class DynamicMPF: [1]: S. Zhuk et al., Phys. Rev. Research 6, 033309 (2024). https://journals.aps.org/prresearch/abstract/10.1103/PhysRevResearch.6.033309 [2]: N. Robertson et al., arXiv:2407.17405 (2024). - https://arxiv.org/abs/2307.17405 + https://arxiv.org/abs/2407.17405 """ def __init__(self, evolution_state: State, lhs: Evolver, rhs: Evolver) -> None: From 83da8a7ba80e058f57f2a24764a553d45210443b Mon Sep 17 00:00:00 2001 From: Max Rossmannek Date: Tue, 26 Nov 2024 08:16:38 +0100 Subject: [PATCH 2/2] docs: fix typos --- qiskit_addon_mpf/backends/quimb_circuit/__init__.py | 6 +++--- qiskit_addon_mpf/backends/quimb_circuit/evolver.py | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/qiskit_addon_mpf/backends/quimb_circuit/__init__.py b/qiskit_addon_mpf/backends/quimb_circuit/__init__.py index 233b78b..0c0048e 100644 --- a/qiskit_addon_mpf/backends/quimb_circuit/__init__.py +++ b/qiskit_addon_mpf/backends/quimb_circuit/__init__.py @@ -55,10 +55,10 @@ >>> identity_factory = CircuitState The setup of the :class:`~.quimb_circuit.CircuitEvolver` is slightly more involved. It requires a -**parametrized** :external:class:`~qiskit.circuit.QuantumCircuit` object as its input where the +**parameterized** :external:class:`~qiskit.circuit.QuantumCircuit` object as its input where the :class:`~qiskit.circuit.Parameter` should take the place of the Trotter methods time step (``dt``). -To show how such a parametrized Trotter circuit template is constructed, we reuse the same +To show how such a parameterized Trotter circuit template is constructed, we reuse the same Hamiltonian and second-order Suzuki-Trotter formula as in :mod:`.quimb_layers`. >>> from qiskit.quantum_info import SparsePauliOp @@ -86,7 +86,7 @@ It is **necessary** that the name of the :class:`~qiskit.circuit.Parameter` is ``dt``! We can choose a higher order Trotter formula for the ``exact_evolver_factory``. But note, that we -must once again use a parametrized circuit, even if we immediately bind its parameter when +must once again use a parameterized circuit, even if we immediately bind its parameter when constructing the ``partial`` function. >>> suzuki_4 = generate_time_evolution_circuit(hamil, time=dt, synthesis=SuzukiTrotter(order=4)) diff --git a/qiskit_addon_mpf/backends/quimb_circuit/evolver.py b/qiskit_addon_mpf/backends/quimb_circuit/evolver.py index dec35d2..a199698 100644 --- a/qiskit_addon_mpf/backends/quimb_circuit/evolver.py +++ b/qiskit_addon_mpf/backends/quimb_circuit/evolver.py @@ -39,8 +39,8 @@ def __init__(self, evolution_state: CircuitState, circuit: QuantumCircuit, dt: f Args: evolution_state: a reference to the time-evolution state. circuit: the template circuit encoding the time-evolution of a single Trotter step. This - circuit **must** be parametrized (see :external:class:`~qiskit.circuit.Parameter` in - place of the Trotter methods time step. This parameter must be named ``dt``. + circuit **must** be parameterized (see :external:class:`~qiskit.circuit.Parameter` + in place of the Trotter methods time step. This parameter must be named ``dt``. dt: the time step that will be used and later bound to the :external:class:`~qiskit.circuit.Parameter` of the ``circuit`` object. """