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:
ansatze.py
: contains circuit used by VQEutils.py
: contains utils function used by main.py
plotscripts.py
: plotting functions.compiling_XXZ.py
: compilation for XXZ model.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