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

merge qiskit-aqua to my fork #1

Merged
merged 35 commits into from
Jul 4, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
1b08c3c
Add reno for release notes and update CONTRIBUTING guide (#1002)
mtreinish May 19, 2020
cd06790
Fix cobyla optimizer (#999)
stefan-woerner May 19, 2020
c1375ff
Remove install check for PySCF 1.7.2post1 (#1004)
manoelmarques May 20, 2020
9378b85
Separate simplification of operators from SummedOp.add and fix bugs o…
t-imamichi May 21, 2020
9ddf03c
Allow Custom Lambda for Iterative Grover, see #893 (#1005)
molar-volume May 21, 2020
4822a51
Update to new NumPy RNG (#921)
manoelmarques May 21, 2020
d6beea4
Fix VQE optimizer setter (#1008)
woodsp-ibm May 21, 2020
fe2ce8e
Test lam argument in Grover algorithm (#1011)
molar-volume May 23, 2020
f95aa3e
Re-use optimal vector result previously computed in VQE (#1014)
Cryoris May 25, 2020
35e6381
Fix ADAM resuseability (#1016)
Cryoris May 26, 2020
5b56515
Remove deprecated VQ tests (#987)
Cryoris May 28, 2020
78c174f
Refactor Shor's algorithm (#975)
MetcalfeTom Jun 3, 2020
6afa940
Add static type hints checking (#1020)
manoelmarques Jun 3, 2020
ca6da31
Fix QAOA initial point bug (#1026)
woodsp-ibm Jun 5, 2020
616cd80
fix remaining type hints errors (#1025)
manoelmarques Jun 5, 2020
1e6edc4
Pin sphinx version temporarily (#1033)
manoelmarques Jun 10, 2020
b79f835
Remove cvxopt and use cvxpy instead (#1035)
mtreinish Jun 11, 2020
b38ca98
Set lstsq fitter for StateTomographyFitter on HHL (#1039)
manoelmarques Jun 12, 2020
6a2a54e
VQE default expectation selection (#1040)
woodsp-ibm Jun 15, 2020
a056ffb
CircuitOp uses QuantumCircuit.compose, not .combine (#1048)
Cryoris Jun 16, 2020
e5e8f4f
Evaluate eigenvalues in MinEigenOptimizer more efficiently (#1045)
Cryoris Jun 16, 2020
c507163
MatrixOp.to_instruction updated to return an Instruction (#1049)
Cryoris Jun 17, 2020
58efdc0
Fix hash function of PauliOp class (#1052)
mrossinek Jun 17, 2020
8d17693
Make cvxpy an optional dependency (#1055)
mtreinish Jun 17, 2020
c60bf81
remove warnings from deprecated varform (#1058)
Cryoris Jun 18, 2020
0a9b380
Pretty output for optimization elements (#1021)
molar-volume Jun 19, 2020
b0c422e
Reduce the number of qubits required by ADMMOptimizer (#1050)
adekusar-drl Jun 19, 2020
78bcfaa
Fix Exchange/Wiki providers, new Yahoo! provider, fix divide by 0 (#…
manoelmarques Jun 24, 2020
bbb083f
Correct coefficient propagation in the operators (#1077)
Cryoris Jun 29, 2020
e6a9d1a
DeprecationWarning of round with numpy 1.19 (#1081)
manoelmarques Jun 29, 2020
efc6e2c
Z2 symmetry fix for when no symmetries found (#1075)
woodsp-ibm Jun 29, 2020
5312359
Set qcp to True for cvxpy Problem.solve in qp_solver (#1083)
mtreinish Jun 30, 2020
45fd69d
Unify optimizer parameters (#1084)
manoelmarques Jul 1, 2020
b040e2c
OperatorStateFn: bind parameters in coeff and primitive (#1085)
Cryoris Jul 1, 2020
b54a4b6
CircuitStateFn.assign_parameters overwrites is_measurement (#1094)
Cryoris Jul 2, 2020
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
304 changes: 123 additions & 181 deletions .pylintdict

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .stestr.conf
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[DEFAULT]
test_path=./test
test_path=./test
50 changes: 19 additions & 31 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,21 +122,32 @@ jobs:
include:
- stage: Checks and Tests
<<: *stage_dependencies
name: "Spell, Style, Lint, Docs check"
name: "Pip, spell, style, lint, copyright and docs checks"
if: tag IS blank
install:
# install spell check libraries
- sudo apt-get -y install python3-enchant
- sudo apt-get -y install hunspell-en-us
- pip install pyenchant
- pip install cplex
- pip install "cvxpy>1.0.0,<1.1.0"
- pip install https://github.com/rpmuller/pyquante2/archive/master.zip --progress-bar off
script:
- pip check
- make spell
- make style
- make lint
- make copyright
- make html SPHINXOPTS=-W
- make doctest
- name: "Mypy check"
<<: *stage_dependencies
if: tag IS blank
python: 3.5
install:
- pip install cplex
script:
- make mypy
- name: "Test Aqua 1 Python 3.7"
<<: *stage_test_aqua
if: tag IS blank
Expand All @@ -148,7 +159,7 @@ jobs:
- aqua137.dep
before_script:
- pip install cplex
- pip install cvxopt
- pip install "cvxpy>1.0.0,<1.1.0"
- export PYTHON="coverage3 run --source qiskit/aqua,qiskit/chemistry,qiskit/finance,qiskit/ml,qiskit/optimization --omit */gauopen/* --parallel-mode"
script:
- stestr --test-path test/aqua run --blacklist-file selection.txt 2> >(tee /dev/stderr out.txt > /dev/null)
Expand All @@ -164,7 +175,7 @@ jobs:
paths: aqua138.dep
python: 3.8
before_script:
- pip install cvxopt
- pip install "cvxpy>1.0.0,<1.1.0"
script:
- stestr --test-path test/aqua run --blacklist-file selection.txt 2> >(tee /dev/stderr out.txt > /dev/null)
- python tools/extract_deprecation.py -file out.txt -output aqua138.dep
Expand All @@ -179,7 +190,7 @@ jobs:
- aqua237.dep
before_script:
- pip install cplex
- pip install cvxopt
- pip install "cvxpy>1.0.0,<1.1.0"
- export PYTHON="coverage3 run --source qiskit/aqua,qiskit/chemistry,qiskit/finance,qiskit/ml,qiskit/optimization --omit */gauopen/* --parallel-mode"
script:
- stestr --test-path test/aqua run --whitelist-file selection.txt 2> >(tee /dev/stderr out.txt > /dev/null)
Expand All @@ -195,7 +206,7 @@ jobs:
paths: aqua238.dep
python: 3.8
before_script:
- pip install cvxopt
- pip install "cvxpy>1.0.0,<1.1.0"
script:
- stestr --test-path test/aqua run --whitelist-file selection.txt 2> >(tee /dev/stderr out.txt > /dev/null)
- python tools/extract_deprecation.py -file out.txt -output aqua238.dep
Expand Down Expand Up @@ -327,16 +338,8 @@ jobs:
script:
- stestr --test-path test/optimization run 2> >(tee /dev/stderr out.txt > /dev/null)
- python tools/extract_deprecation.py -file out.txt -output optimization38.dep
- name: "Run pip check"
<<: *stage_dependencies
if: tag IS blank
script:
- pip install cplex
- pip install cvxopt
- pip install https://github.com/rpmuller/pyquante2/archive/master.zip --progress-bar off
- pip check
- stage: Deprecation Messages
name: "Print deprecation messages"
- stage: Deprecation Messages and Coverage
name: "Print deprecation msgs, combine all coverages and upload to Coveralls"
if: tag IS blank
workspaces:
use:
Expand All @@ -352,25 +355,10 @@ jobs:
- ml38
- optimization37
- optimization38
install:
# dummy install cmd to prevent travis from installing requirements.txt
- pip --version
script:
- sort -f -u aqua137.dep aqua138.dep aqua237.dep aqua238.dep chemistry37.dep chemistry38.dep finance37.dep finance38.dep ml37.dep ml38.dep optimization37.dep optimization38.dep || true
- stage: Coverage
name: "Combine all coverages and upload to Coveralls"
if: tag IS blank
workspaces:
use:
- aqua137
- aqua237
- chemistry37
- finance37
- ml37
- optimization37
install:
- pip install -U coverage coveralls diff-cover
script:
- sort -f -u aqua137.dep aqua138.dep aqua237.dep aqua238.dep chemistry37.dep chemistry38.dep finance37.dep finance38.dep ml37.dep ml38.dep optimization37.dep optimization38.dep || true
- coverage3 combine aqua1.dat aqua2.dat chemistry.dat finance.dat ml.dat optimization.dat
- coveralls || true
- coverage3 xml
Expand Down
Loading