Skip to content
This repository has been archived by the owner on Sep 20, 2022. It is now read-only.

Merge dev to master #430

Merged
merged 46 commits into from
Sep 29, 2021
Merged

Merge dev to master #430

merged 46 commits into from
Sep 29, 2021

Conversation

github-actions[bot]
Copy link

No description provided.

Shiro-Raven and others added 30 commits August 29, 2021 13:33
…ven/extract-pyquil-conversion-logic

Removal of Pyquil's conversion logic
* ZQS-721 Implement initial PoC of cost function augmentations

* Add docstrings

* Add comment explaining usage of object.__setattr__

* Remove unnecessary pass statement

* Add docstrings explaining __setattr__ and __getattr__ usage
* Fix typo in filename

* Indicate what methods should be implemented by subclasses of ConditionalSideEffect
Co-authored-by: Michał Stęchły <michal.stechly@gmail.com>
…ven/remove-pyquil-wavefunction

Remove PyQuil's Wavefunction from Core
* ZQS-772 update ground state cost function

* ZQS-772 update ground state cost function tests

* ZQS-772 remove duplicate logic

* ZQS-772 update docstring

* ZQS-772 add `gradient_function` arg to `create_cost_function`

* ZQS-772 add test for `create_cost_function` with gradient

* Fix typo

Co-authored-by: Michał Stęchły <michal.stechly@gmail.com>

* ZQS-772 More specific typing for gradient function

* ZQS-772 Rename factory -> factory_type

* ZQS-772 fix warnings

* ZQS-772 Update gradient factory type

* Minor style fixes.

Co-authored-by: Michał Stęchły <michal.stechly@gmail.com>
* ZQS-770 Implement natural sorting order

* ZQS-770 Implement revlex natural sorting order

* ZQS-770 Fix how keys are imported

* ZQS-770 update docstrings, add credit for original author

* ZQS-770 fix typo
Shiro-Raven and others added 16 commits September 13, 2021 15:39
* ZQS-770 use symbol sorting key that depends on the specific cost function

* ZQS-770 add SupportsLessThan Protocol

* ZQS-770 fix typo

* ZQS-770 Add symbols_sort_key to Ansatz interface

* ZQS-770 Fix symbol sorting in cost functions

* ZQS-770 Attempt to bump coverage

* ZQS-770 Add docstring for SupportsLessThan

* ZQS-770 Fix definition of SupportsLessThan
* ZQS-675 add interface for MetaOptimizers

* ZQS-675 add NotImplementedError

* ZQS-675 Fix circular import

* ZQS-675 Add simple meta optimizer test

* ZQS-675 remove uneeded args, change to public variables

* ZQS-675 remove uneeded test, move MockMetaOptimizer to mock_objects.py

* ZQS-675 create more involved MockMetaOptimizer that showcases what a MetaOptimizer is meant to do

* Polished MetaOptimizer's implementation.

* fixup! Polished MetaOptimizer's implementation.

* Removed duplicated EstimationTasksFactory.

* ZQS-675 Fix typing of history argument

* ZQS-675 Correct order of arguments in _minimize

* ZQS-675 Remove unnecessary pass statements and raising NotImplementedError

* ZQS-675 Fix call order

* ZQS-675 Fix order of arguments in MaliciousMetaOptimizer._minimize

* ZQS-675 Fix order of arguments in MetaOptimizer's contracts

* ZQS-675 Remove unnecessary ellipsis, add docstrings instead

* Renamed MetaOptimizer to NestedOptimizer.

Co-authored-by: Michał Stęchły <michal.stechly@gmail.com>
Co-authored-by: Konrad Jałowiecki <dexter2206@gmail.com>
* Simplified contracts for NestedOptimizer.

* fixup! Simplified contracts for NestedOptimizer.

* Fix isort  issue

Co-authored-by: Konrad Jałowiecki <dexter2206@gmail.com>
…en/add-assertion-n-qubits

Add assertion for number of qubits in Circuit init
…426)

* ZQS-770 Implement symbol sort key with fixed names order

* ZQS-770 Add docstring
…ven/extract-cirq-from-core

Extract cirq from core
@alexjuda alexjuda merged commit 5fa4fd5 into master Sep 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants