Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove parser #92

Merged
merged 27 commits into from
Dec 16, 2024
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
52c6bcd
remove parser
Edoardo-Pedicillo Oct 16, 2024
401d1aa
expose DBI type
Edoardo-Pedicillo Oct 16, 2024
3290e09
use nlayers
Edoardo-Pedicillo Oct 16, 2024
94c1420
move main.py in src/boostvqe/boost.py and update the README
Edoardo-Pedicillo Oct 16, 2024
8bd5c91
typo in README
Edoardo-Pedicillo Oct 16, 2024
8ea85f0
clean code
Edoardo-Pedicillo Oct 16, 2024
4ab779c
README installation instructions
Edoardo-Pedicillo Oct 16, 2024
ed50b14
README installation instructions
Edoardo-Pedicillo Oct 16, 2024
5744c7a
update pyproject
Edoardo-Pedicillo Oct 16, 2024
9c54a48
remove help from the README script
Edoardo-Pedicillo Oct 16, 2024
e9b12b1
rename main function dbi_vqe
Edoardo-Pedicillo Oct 16, 2024
f70b447
remove -e option in README
Edoardo-Pedicillo Oct 16, 2024
18f97dd
increase example readibility
Edoardo-Pedicillo Oct 16, 2024
79cf18b
Update src/boostvqe/boost.py
Edoardo-Pedicillo Oct 16, 2024
c581583
fix: remove optimize_dbi_step
Edoardo-Pedicillo Oct 22, 2024
102b2ab
Merge branch 'simplify_main' of github.com:qiboteam/boostvqe into sim…
Edoardo-Pedicillo Oct 22, 2024
8c0db95
feat: some fixes to Edo's improvments
MatteoRobbiati Nov 5, 2024
c168558
feat: add script to run vqe training
MatteoRobbiati Nov 5, 2024
ad3f398
fix: RBS derivative
MatteoRobbiati Nov 6, 2024
7e1c1db
Merge pull request #99 from qiboteam/training_fixes
MatteoRobbiati Nov 11, 2024
981f103
Update src/boostvqe/boost.py
Edoardo-Pedicillo Nov 12, 2024
e35f336
refactor: use time_steps
Edoardo-Pedicillo Nov 13, 2024
52339e5
refactor: rename dbi_steps in dbqa_steps
Edoardo-Pedicillo Nov 13, 2024
aee638a
refactor: rename time)steps in dbr_duration
Edoardo-Pedicillo Nov 13, 2024
33050cb
docs: change dbqa_steps description
Edoardo-Pedicillo Nov 13, 2024
5301e45
fix: boost.py working
andrea-pasquale Nov 29, 2024
e122902
Merge branch 'main' into simplify_main
Edoardo-Pedicillo Dec 16, 2024
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
21 changes: 15 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,10 @@ Boosting variational eigenstate preparation algorithms limited by training and n
The package can be installed by source after cloning the repository:

```sh
cd boostvqe
Edoardo-Pedicillo marked this conversation as resolved.
Show resolved Hide resolved
pip install -e .
```

will install `boostvqe 0.0.1` and activate a dedicated working shell.

## Code structure

The file `main.py` performs boosted VQE training.
Expand All @@ -24,12 +23,22 @@ The source code is located in `./src/boostvqe/.` and its composed of:
* `plotscripts.py`: plotting functions.
* `compiling_XXZ.py`: compilation for XXZ model.

## How to run the code
## Example

For further information about the inputs:
It follows a python snippet explaining how to run the boosting

```sh
python main.py --help
```py

from boostvqe.boost import main
from boostvqe.ansatze import hdw_efficient

from qibo.models.dbi.double_bracket import DoubleBracketGeneratorType

help(main) #If you need some info
Edoardo-Pedicillo marked this conversation as resolved.
Show resolved Hide resolved

circuit = hdw_efficient(nqubits=2, nlayers=2)

main(circuit, "test_output", mode = DoubleBracketGeneratorType.group_commutator)
Edoardo-Pedicillo marked this conversation as resolved.
Show resolved Hide resolved
```

# Tutorials
Expand Down
Loading