A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/qiboteam/boostvqe below:

qiboteam/boostvqe: Using DBI to boost VQE optimization

Boosting variational eigenstate preparation algorithms limited by training and not device coherence by diagonalization double-bracket iteration. Installation instructions

The package can be installed by source after cloning the repository:

cd boostvqe
pip install .

The file src/boostvqe/boost.py performs boosted VQE training.

The source code is located in ./src/boostvqe/. and its composed of:

It follows a python snippet explaining how to run the boosting

from boostvqe.boost import dbqa_vqe
from boostvqe.ansatze import hdw_efficient

from qibo_dbqa.double_bracket import DoubleBracketGeneratorType

circuit = hdw_efficient(nqubits=2, nlayers=3)
output_folder = "output"
dbqa_vqe(
    circuit=circuit,
    output_folder=output_folder,
    mode = DoubleBracketGeneratorType.group_commutator,
    optimizer="BFGS",
    optimizer_options={"maxiter": 3},
    dbr_duration=0.1,
)

All the info regarding dbqa_vqe can be generated with help(dbqa_vqe).

Some useful notebooks to understand how the library works, are collected here.

For more details about this project and citations, please refer to the article.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4