Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion src/qrisp/algorithms/qite.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,18 @@
import jax.numpy as jnp


def QITE(qarg, U_0, exp_H, s, k, method="GC"):
def QITE(*args, procedure_type=None, **kwargs):
r"""
To anticipate other methods implementing QITE

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
To anticipate other methods implementing QITE
To anticipate other methods implementing QITE.

Currently, Qrisp supports only DB-QITE
"""
# default
if procedure_type is None:
DB_QITE(*args, **kwargs)
# TODO: variational methods based on measurements


def DB_QITE(qarg, U_0, exp_H, s, k, method="GC"):
r"""
Performs `Double-Braket Quantum Imaginary-Time Evolution (DB-QITE) <https://arxiv.org/abs/2412.04554>`_.
Given a Hamiltonian :ref:`Operator <Operators>` $H$, this method implements the unitary $U_k$ that is recursively defined by either of
Expand Down