Skip to content

Commit d1196dd

Browse files
committed
Merge remote-tracking branch 'origin/main' into 2024-04/generic-costs-framework
2 parents 32a30a7 + 8fcba74 commit d1196dd

145 files changed

Lines changed: 2856 additions & 1000 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

dev_tools/autogenerate-bloqs-notebooks-v2.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,10 @@
6262
import qualtran.bloqs.chemistry.pbc.first_quantization.projectile.select_and_prepare
6363
import qualtran.bloqs.chemistry.pbc.first_quantization.select_t
6464
import qualtran.bloqs.chemistry.pbc.first_quantization.select_uv
65+
import qualtran.bloqs.chemistry.quad_fermion.givens_bloq
6566
import qualtran.bloqs.chemistry.sf.single_factorization
6667
import qualtran.bloqs.chemistry.sparse.prepare
68+
import qualtran.bloqs.chemistry.sparse.walk_operator
6769
import qualtran.bloqs.chemistry.thc.prepare
6870
import qualtran.bloqs.chemistry.trotter.grid_ham.inverse_sqrt
6971
import qualtran.bloqs.chemistry.trotter.grid_ham.qvr
@@ -269,6 +271,14 @@
269271
],
270272
directory=f'{SOURCE_DIR}/bloqs/chemistry/trotter/hubbard',
271273
),
274+
NotebookSpecV2(
275+
title='Givens Rotations',
276+
module=qualtran.bloqs.chemistry.quad_fermion.givens_bloq,
277+
bloq_specs=[
278+
qualtran.bloqs.chemistry.quad_fermion.givens_bloq._REAL_GIVENS_DOC,
279+
qualtran.bloqs.chemistry.quad_fermion.givens_bloq._CPLX_GIVENS_DOC,
280+
],
281+
),
272282
]
273283

274284
# --------------------------------------------------------------------------
@@ -427,6 +437,11 @@
427437
module=qualtran.bloqs.qubitization_walk_operator,
428438
bloq_specs=[qualtran.bloqs.qubitization_walk_operator._QUBITIZATION_WALK_DOC],
429439
),
440+
NotebookSpecV2(
441+
title='Qubitization Phase Estimation',
442+
module=qualtran.bloqs.phase_estimation.qubitization_qpe,
443+
bloq_specs=[qualtran.bloqs.phase_estimation.qubitization_qpe._QUBITIZATION_QPE_DOC],
444+
),
430445
]
431446

432447
# --------------------------------------------------------------------------

dev_tools/requirements/envs/dev.env.txt

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#
77
absl-py==2.1.0
88
# via tensorflow-docs
9-
accessible-pygments==0.0.4
9+
accessible-pygments==0.0.5
1010
# via pydata-sphinx-theme
1111
alabaster==0.7.16
1212
# via sphinx
@@ -45,7 +45,7 @@ autoray==0.6.9
4545
# via
4646
# cotengra
4747
# quimb
48-
babel==2.14.0
48+
babel==2.15.0
4949
# via
5050
# jupyterlab-server
5151
# pydata-sphinx-theme
@@ -60,7 +60,7 @@ black==22.3.0
6060
# via -r deps/format.txt
6161
bleach==6.1.0
6262
# via nbconvert
63-
blinker==1.8.1
63+
blinker==1.8.2
6464
# via flask
6565
build==1.2.1
6666
# via pip-tools
@@ -95,15 +95,15 @@ contourpy==1.2.1
9595
# via matplotlib
9696
cotengra==0.6.0
9797
# via quimb
98-
coverage[toml]==7.5.0
98+
coverage[toml]==7.5.1
9999
# via pytest-cov
100-
cryptography==42.0.5
100+
cryptography==42.0.7
101101
# via secretstorage
102102
cycler==0.12.1
103103
# via matplotlib
104104
cytoolz==0.12.3
105105
# via quimb
106-
dash==2.16.1
106+
dash==2.17.0
107107
# via -r deps/runtime.txt
108108
dash-core-components==2.0.0
109109
# via dash
@@ -220,17 +220,17 @@ jaraco-context==5.3.0
220220
# via keyring
221221
jaraco-functools==4.0.1
222222
# via keyring
223-
jax==0.4.26
223+
jax==0.4.28
224224
# via openfermion
225-
jaxlib==0.4.26
225+
jaxlib==0.4.28
226226
# via openfermion
227227
jedi==0.19.1
228228
# via ipython
229229
jeepney==0.8.0
230230
# via
231231
# keyring
232232
# secretstorage
233-
jinja2==3.1.3
233+
jinja2==3.1.4
234234
# via
235235
# flask
236236
# jupyter-server
@@ -244,7 +244,7 @@ json5==0.9.25
244244
# via jupyterlab-server
245245
jsonpointer==2.4
246246
# via jsonschema
247-
jsonschema[format-nongpl]==4.21.1
247+
jsonschema[format-nongpl]==4.22.0
248248
# via
249249
# jupyter-events
250250
# jupyterlab-server
@@ -449,7 +449,7 @@ platformdirs==4.2.1
449449
# jupyter-core
450450
# pylint
451451
# virtualenv
452-
plotly==5.21.0
452+
plotly==5.22.0
453453
# via
454454
# -r deps/runtime.txt
455455
# dash
@@ -469,7 +469,7 @@ psutil==5.9.8
469469
# via
470470
# ipykernel
471471
# quimb
472-
psygnal==0.11.0
472+
psygnal==0.11.1
473473
# via anywidget
474474
ptyprocess==0.7.0
475475
# via
@@ -485,7 +485,7 @@ pydata-sphinx-theme==0.15.2
485485
# via -r deps/docs.txt
486486
pydot==2.0.0
487487
# via -r deps/runtime.txt
488-
pygments==2.17.2
488+
pygments==2.18.0
489489
# via
490490
# accessible-pygments
491491
# ipython
@@ -536,7 +536,7 @@ pyyaml==6.0.1
536536
# myst-nb
537537
# myst-parser
538538
# tensorflow-docs
539-
pyzmq==26.0.2
539+
pyzmq==26.0.3
540540
# via
541541
# ipykernel
542542
# jupyter-client
@@ -545,11 +545,11 @@ qsharp==1.4.0
545545
# via -r deps/runtime.txt
546546
qsharp-widgets==1.4.0
547547
# via -r deps/runtime.txt
548-
quimb==1.8.0
548+
quimb==1.8.1
549549
# via -r deps/runtime.txt
550550
readme-renderer==43.0
551551
# via twine
552-
referencing==0.35.0
552+
referencing==0.35.1
553553
# via
554554
# jsonschema
555555
# jsonschema-specifications
@@ -578,7 +578,7 @@ rfc3986-validator==0.1.1
578578
# jupyter-events
579579
rich==13.7.1
580580
# via twine
581-
rpds-py==0.18.0
581+
rpds-py==0.18.1
582582
# via
583583
# jsonschema
584584
# referencing
@@ -631,7 +631,7 @@ sphinxcontrib-qthelp==1.0.7
631631
# via sphinx
632632
sphinxcontrib-serializinghtml==1.1.10
633633
# via sphinx
634-
sqlalchemy==2.0.29
634+
sqlalchemy==2.0.30
635635
# via jupyter-cache
636636
stack-data==0.6.3
637637
# via ipython
@@ -642,7 +642,7 @@ sympy==1.12
642642
# openfermion
643643
tabulate==0.9.0
644644
# via jupyter-cache
645-
tenacity==8.2.3
645+
tenacity==8.3.0
646646
# via plotly
647647
tensorflow-docs==2023.5.24.56664
648648
# via
@@ -666,7 +666,7 @@ tomli==2.0.1
666666
# pylint
667667
# pytest
668668
# sphinx
669-
tomlkit==0.12.4
669+
tomlkit==0.12.5
670670
# via pylint
671671
toolz==0.12.1
672672
# via cytoolz
@@ -678,7 +678,7 @@ tornado==6.4
678678
# jupyterlab
679679
# notebook
680680
# terminado
681-
tqdm==4.66.3
681+
tqdm==4.66.4
682682
# via
683683
# cirq-core
684684
# quimb
@@ -736,7 +736,7 @@ webencodings==0.5.1
736736
# tinycss2
737737
websocket-client==1.8.0
738738
# via jupyter-server
739-
werkzeug==3.0.2
739+
werkzeug==3.0.3
740740
# via
741741
# dash
742742
# flask

dev_tools/requirements/envs/docs.env.txt

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ absl-py==2.1.0
88
# via
99
# -c envs/dev.env.txt
1010
# tensorflow-docs
11-
accessible-pygments==0.0.4
11+
accessible-pygments==0.0.5
1212
# via
1313
# -c envs/dev.env.txt
1414
# pydata-sphinx-theme
@@ -41,7 +41,7 @@ autoray==0.6.9
4141
# -c envs/dev.env.txt
4242
# cotengra
4343
# quimb
44-
babel==2.14.0
44+
babel==2.15.0
4545
# via
4646
# -c envs/dev.env.txt
4747
# pydata-sphinx-theme
@@ -55,7 +55,7 @@ bleach==6.1.0
5555
# via
5656
# -c envs/dev.env.txt
5757
# nbconvert
58-
blinker==1.8.1
58+
blinker==1.8.2
5959
# via
6060
# -c envs/dev.env.txt
6161
# flask
@@ -101,7 +101,7 @@ cytoolz==0.12.3
101101
# via
102102
# -c envs/dev.env.txt
103103
# quimb
104-
dash==2.16.1
104+
dash==2.17.0
105105
# via
106106
# -c envs/dev.env.txt
107107
# -r deps/runtime.txt
@@ -206,15 +206,15 @@ jedi==0.19.1
206206
# via
207207
# -c envs/dev.env.txt
208208
# ipython
209-
jinja2==3.1.3
209+
jinja2==3.1.4
210210
# via
211211
# -c envs/dev.env.txt
212212
# flask
213213
# myst-parser
214214
# nbconvert
215215
# sphinx
216216
# tensorflow-docs
217-
jsonschema==4.21.1
217+
jsonschema==4.22.0
218218
# via
219219
# -c envs/dev.env.txt
220220
# nbformat
@@ -380,7 +380,7 @@ platformdirs==4.2.1
380380
# via
381381
# -c envs/dev.env.txt
382382
# jupyter-core
383-
plotly==5.21.0
383+
plotly==5.22.0
384384
# via
385385
# -c envs/dev.env.txt
386386
# -r deps/runtime.txt
@@ -399,7 +399,7 @@ psutil==5.9.8
399399
# -c envs/dev.env.txt
400400
# ipykernel
401401
# quimb
402-
psygnal==0.11.0
402+
psygnal==0.11.1
403403
# via
404404
# -c envs/dev.env.txt
405405
# anywidget
@@ -419,7 +419,7 @@ pydot==2.0.0
419419
# via
420420
# -c envs/dev.env.txt
421421
# -r deps/runtime.txt
422-
pygments==2.17.2
422+
pygments==2.18.0
423423
# via
424424
# -c envs/dev.env.txt
425425
# accessible-pygments
@@ -449,7 +449,7 @@ pyyaml==6.0.1
449449
# myst-nb
450450
# myst-parser
451451
# tensorflow-docs
452-
pyzmq==26.0.2
452+
pyzmq==26.0.3
453453
# via
454454
# -c envs/dev.env.txt
455455
# ipykernel
@@ -462,11 +462,11 @@ qsharp-widgets==1.4.0
462462
# via
463463
# -c envs/dev.env.txt
464464
# -r deps/runtime.txt
465-
quimb==1.8.0
465+
quimb==1.8.1
466466
# via
467467
# -c envs/dev.env.txt
468468
# -r deps/runtime.txt
469-
referencing==0.35.0
469+
referencing==0.35.1
470470
# via
471471
# -c envs/dev.env.txt
472472
# jsonschema
@@ -480,7 +480,7 @@ retrying==1.3.4
480480
# via
481481
# -c envs/dev.env.txt
482482
# dash
483-
rpds-py==0.18.0
483+
rpds-py==0.18.1
484484
# via
485485
# -c envs/dev.env.txt
486486
# jsonschema
@@ -540,7 +540,7 @@ sphinxcontrib-serializinghtml==1.1.10
540540
# via
541541
# -c envs/dev.env.txt
542542
# sphinx
543-
sqlalchemy==2.0.29
543+
sqlalchemy==2.0.30
544544
# via
545545
# -c envs/dev.env.txt
546546
# jupyter-cache
@@ -557,7 +557,7 @@ tabulate==0.9.0
557557
# via
558558
# -c envs/dev.env.txt
559559
# jupyter-cache
560-
tenacity==8.2.3
560+
tenacity==8.3.0
561561
# via
562562
# -c envs/dev.env.txt
563563
# plotly
@@ -582,7 +582,7 @@ tornado==6.4
582582
# -c envs/dev.env.txt
583583
# ipykernel
584584
# jupyter-client
585-
tqdm==4.66.3
585+
tqdm==4.66.4
586586
# via
587587
# -c envs/dev.env.txt
588588
# cirq-core
@@ -627,7 +627,7 @@ webencodings==0.5.1
627627
# -c envs/dev.env.txt
628628
# bleach
629629
# tinycss2
630-
werkzeug==3.0.2
630+
werkzeug==3.0.3
631631
# via
632632
# -c envs/dev.env.txt
633633
# dash

0 commit comments

Comments
 (0)