Skip to content

Implemented TrotterQRTE algorithm with primitives.#8706

Merged
mergify[bot] merged 86 commits into
Qiskit:mainfrom
dlasecki:trotter-qrte-primitives
Sep 23, 2022
Merged

Implemented TrotterQRTE algorithm with primitives.#8706
mergify[bot] merged 86 commits into
Qiskit:mainfrom
dlasecki:trotter-qrte-primitives

Conversation

@dlasecki
Copy link
Copy Markdown
Contributor

@dlasecki dlasecki commented Sep 8, 2022

Summary

Implemented TrotterQRTE algorithm with primitives.

Details and comments

This PR is blocked by #8681 and #8683 PRs and the current draft includes files from those PRs as they are necessary for the algorithm to run. Please ignore these files while reviewing this PR.

Dariusz Lasecki added 30 commits August 30, 2022 13:21
Comment thread qiskit/algorithms/time_evolvers/trotterization/__init__.py
Comment thread qiskit/algorithms/time_evolvers/trotterization/trotter_qrte.py Outdated
Comment thread qiskit/algorithms/time_evolvers/trotterization/trotter_qrte.py Outdated
Comment thread qiskit/algorithms/time_evolvers/trotterization/trotter_qrte.py Outdated
Comment thread qiskit/algorithms/time_evolvers/trotterization/trotter_qrte.py Outdated
Comment thread qiskit/algorithms/time_evolvers/trotterization/trotter_qrte.py Outdated
Comment thread releasenotes/notes/trotter-qrte-primitives-8b3e495738b57fc3.yaml Outdated
Comment thread test/python/algorithms/time_evolvers/test_trotter_qrte.py Outdated
Comment thread qiskit/algorithms/__init__.py Outdated
Comment thread releasenotes/notes/trotter-qrte-primitives-8b3e495738b57fc3.yaml Outdated
Comment thread releasenotes/notes/trotter-qrte-primitives-8b3e495738b57fc3.yaml Outdated
Comment thread releasenotes/notes/trotter-qrte-primitives-8b3e495738b57fc3.yaml Outdated
dlasecki and others added 3 commits September 22, 2022 09:08
Co-authored-by: Steve Wood <40241007+woodsp-ibm@users.noreply.github.com>
Copy link
Copy Markdown
Member

@woodsp-ibm woodsp-ibm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dlasecki thanks.

@mergify mergify Bot merged commit 13d9311 into Qiskit:main Sep 23, 2022
ElePT pushed a commit to ElePT/qiskit that referenced this pull request Jun 27, 2023
* Implemented observables_evaluator.py with primitives.

* Added evolvers problems and interfaces to time_evolvers package.

* Mostly updated trotter_qrte.py to use primitives.

* Added observables_evaluator.py that uses primitives.

* Added observables_evaluator.py that uses primitives.

* Updated trotter_qrte.py to use primitives.

* Updated imports

* Updated typehints and limited use of opflow.

* Updated typehints and limited use of opflow.

* Removed files out of scope for this PR.

* Added annotations import.

* Added trotter_qrte.py with unit tests.

* Refactored trotter_qrte.py.

* Added observables_evaluator.py with primitives.

* Added ListOrDict support to observables_evaluator.py.

* Updated trotter_qrte.py unit tests; code refactoring.

* Included CR suggestions.

* Applied some CR comments.

* Applied some CR comments.

* Added reno.

* Added reno.

* Accepting Statevector.

* Added attributes docs.

* Support for 0 operator.

* Code refactoring.

* Updated init.

* Add pending deprecation

* Add pending deprecation for evolvers

* Code refactoring.

* Code refactoring.

* Renamed classes and linked to algorithms init.

* fix docstring

* Improved reno.

* Improved reno.

* Returning variances and shots.

* Code refactoring.

* Updated classes and applied CR suggestions.

* Added reno.

* Reduced use of opflow in tests.

* Black fix.

* Unit test fix.

* Reduced use of opflow.

* Handle empty inputs gracefully.

* Applied CR comments.

* Applied CR comments.

* Updated method names.

* Applied CR comments.

* Eliminated cyclic import.

* Drafted reduced use of opflow.

* Drafted reduced use of opflow.

* Removed use of opflow.

* Code refactoring.

* Addressed CR comments.

* Added more tests for error paths.

* Added Trotter section in algorithms init.

* Changed init.

* Apply suggestions from code review

Co-authored-by: Steve Wood <40241007+woodsp-ibm@users.noreply.github.com>

* Co-located TrotterQRTE with time evolvers in docs.

Co-authored-by: Manoel Marques <Manoel.Marques@ibm.com>
Co-authored-by: Steve Wood <40241007+woodsp-ibm@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
ElePT pushed a commit to ElePT/qiskit-algorithms-test that referenced this pull request Jul 17, 2023
* Implemented observables_evaluator.py with primitives.

* Added evolvers problems and interfaces to time_evolvers package.

* Mostly updated trotter_qrte.py to use primitives.

* Added observables_evaluator.py that uses primitives.

* Added observables_evaluator.py that uses primitives.

* Updated trotter_qrte.py to use primitives.

* Updated imports

* Updated typehints and limited use of opflow.

* Updated typehints and limited use of opflow.

* Removed files out of scope for this PR.

* Added annotations import.

* Added trotter_qrte.py with unit tests.

* Refactored trotter_qrte.py.

* Added observables_evaluator.py with primitives.

* Added ListOrDict support to observables_evaluator.py.

* Updated trotter_qrte.py unit tests; code refactoring.

* Included CR suggestions.

* Applied some CR comments.

* Applied some CR comments.

* Added reno.

* Added reno.

* Accepting Statevector.

* Added attributes docs.

* Support for 0 operator.

* Code refactoring.

* Updated init.

* Add pending deprecation

* Add pending deprecation for evolvers

* Code refactoring.

* Code refactoring.

* Renamed classes and linked to algorithms init.

* fix docstring

* Improved reno.

* Improved reno.

* Returning variances and shots.

* Code refactoring.

* Updated classes and applied CR suggestions.

* Added reno.

* Reduced use of opflow in tests.

* Black fix.

* Unit test fix.

* Reduced use of opflow.

* Handle empty inputs gracefully.

* Applied CR comments.

* Applied CR comments.

* Updated method names.

* Applied CR comments.

* Eliminated cyclic import.

* Drafted reduced use of opflow.

* Drafted reduced use of opflow.

* Removed use of opflow.

* Code refactoring.

* Addressed CR comments.

* Added more tests for error paths.

* Added Trotter section in algorithms init.

* Changed init.

* Apply suggestions from code review

Co-authored-by: Steve Wood <40241007+woodsp-ibm@users.noreply.github.com>

* Co-located TrotterQRTE with time evolvers in docs.

Co-authored-by: Manoel Marques <Manoel.Marques@ibm.com>
Co-authored-by: Steve Wood <40241007+woodsp-ibm@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Changelog: Added Add an "Added" entry in the GitHub Release changelog.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants