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

fetch qiskit master #2

Merged
merged 1,340 commits into from
May 28, 2020
Merged

fetch qiskit master #2

merged 1,340 commits into from
May 28, 2020

Conversation

pbark
Copy link
Owner

@pbark pbark commented May 28, 2020

Summary

Details and comments

manoelmarques and others added 30 commits January 30, 2020 23:42
#793 support Quantum Post-Selection for processing counts
Gaussian drivers for python 3.8
Change travis to install libgfortran 5 for chemistry
Change Travis Qiskit Aer clone to include submodule
a-matsuo and others added 29 commits May 11, 2020 18:30
* added a linear option to IsingToQuadraticProgram class

* Added comments

* added docstrings

* deleted the last  case distinction

* removed brakets of keys in a dict

Co-authored-by: Manoel Marques <manoel@us.ibm.com>
Co-authored-by: Julien Gacon <jules.gacon@googlemail.com>
* Fix binding bug

* Refactor bind_parameters into assign_parameters

* Fix bug in operator_state_fn.py eval.

* Update docs

* Fix docs

Co-authored-by: Steve Wood <40241007+woodsp-ibm@users.noreply.github.com>
* Fix summed_op.py combo_fn

* Fix circuit_op and circuit_state_fn reduce to delete empty instructions.

* Fix rounding after circuit_state_fn.to_matrix()

* Fix empty instruction check.

Co-authored-by: Steve Wood <40241007+woodsp-ibm@users.noreply.github.com>
* Fix scikit-learn positional arguments change
…nt (#978)

* Fix ListOp treatment of exp_i and make SummedOp combo_fn more efficient.

* Fix typo.
* fix recursive optimization

* Update recursive_minimum_eigen_optimizer.py

Co-authored-by: Manoel Marques <manoel@us.ibm.com>
Co-authored-by: Julien Gacon <jules.gacon@googlemail.com>
A FCIDump's header may end with `/` or `&END` (https://hande.readthedocs.io/en/latest/manual/integrals.html#fcidump-format). Since PySCF v1.7.2 (pyscf/pyscf@2675459#diff-e3c4e82f238e6aa6add8d26b42ce1363) the end must be `&END`. Thus we introduce this fix to comply with their FCIDump parser.
* Update readme
* fast operator grouping with numpy

* add a trick for networkx

* remove unnecessary "[]"

* fix comments

* (wip) add test_abelian_grouper.py

* implement a fast pass of grouping

* fix lint

* implement a numpy-based coloring

* move abelian groupter tests

* simplify

* move abelian groupter tests to a separete file

* replace assert with assertTrue

* Fix lint

Co-authored-by: Manoel Marques <manoel@us.ibm.com>
Co-authored-by: Julien Gacon <jules.gacon@googlemail.com>
Co-authored-by: Donny Greenberg <dongreenberg2@gmail.com>
Co-authored-by: Steve Wood <40241007+woodsp-ibm@users.noreply.github.com>
Co-authored-by: Manoel Marques <manoel@us.ibm.com>
* Replace algorithm result eigvecs by eingenstate

* remove return type from docstring
* Add reno fore release notes and update CONTRIBUTING guide

Moving forward aqua will be using reno for release documentation. This
commit adds a pro-forma release note and the documentation configuration
to verify release notes moving forward. It also updates the CONTRIBUTING
guide to reflect this new change.

Fixes #990

* Add missing docs file

* Fix copy and paste errors

* Fix more copy and paste errors

* Add release_notes to index.rst

Co-authored-by: Manoel Marques <manoel@us.ibm.com>
* fix problem with variable bounds in cobyla optimizer and add unit test

* derive initial state from variable bounds

Co-authored-by: Julien Gacon <jules.gacon@googlemail.com>
…f add (#1000)

* removed unnecessary "[]"

* separate SummedOp.simplify out from SummedOp.add

* simplify

* revise comments

* add a unit test

* revise comments

* revise test_op_construction and test_abelian_grouper

* revise comments of abelian_grouper

* revise a comment

* use ddt for test of abelian grouper

* revise a comment
* #893
Iterative Grover Allows Custom Lambda
1) Parameter "lam" can be explicitly set in constructor, with default value 1.34, which is proved to be optimal
2) Sequence of Grover rotation counts can be explicitly set in the constructor, e.g. rotation_counts = [ 0, 1, 3, 5, 9 ]

Iterative Grover Allows Custom Lambda
- grover_test parametrised by rotation_counts
- if rotations_counts is None, the number of iterations increases by the factor of lambda
- the fixed rotation sequence [0, 0, ..., 49, 4, 60 ] is efficient choice according to Baritompa et al., Grovers Quantum Algorithm Applied to Global Optimization


Co-authored-by: Stefan Woerner <41292468+stefan-woerner@users.noreply.github.com>
Co-authored-by: Julien Gacon <jules.gacon@googlemail.com>
Co-authored-by: Manoel Marques <manoel@us.ibm.com>
* Update to new NumPy RNG

* use global generator on numpydiscriminator

* fix ml digits test

* fix finance random test

* increase scipy min.requirements

* fix portfolio test

* fix optimization tests

* unit test change

* fix hhl unit test

* change unit test

* fix IBMQ unit test imports

* change remaining np.random calls to generator

* change unit tests

* change seed on test vqc

* Amend unit tests

* Update numpy method

* Amend unit tests

* change vqc test

Co-authored-by: woodsp <woodsp@us.ibm.com>
* Fix VQE optimizer setter
* Test lam argument in Grover algorithm
* re-use optimal vector result previously computed

* fix type of result.eigenstate
* reset step count in minimize and set params_new

* remove duplicate loc
* trim vqe

* dont remove max_evals_grouped test

* reduce tests to library objects

* wrap reused code in a separate assert fun

* reduce VQE2IQPE, SwapRZ and QGAN tests

* keep testing SwapRZ

* remove old qft tests

* remove trailing unpack

* trim QSVM

* fix qpe test

precision was set too high -- no trivial translation from "signficant" to either "places" or "delta"

* test HHL, QPE, QAE on deprecated QFTS

* fix vqe and qsvm tests

* fix vqc tests

* fix arg mixup in negative eigenvalues

* fix lint

* use better suited optimizer for statevector

* change assertLess to assertGreater

* correct QASM -> statevector comment

Co-authored-by: Manoel Marques <manoel@us.ibm.com>
@pbark pbark merged commit 7baf769 into pbark:master May 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.