-
Notifications
You must be signed in to change notification settings - Fork 342
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
Construct multi-qubit Pauli terms and sums from strings #984
Commits on Mar 29, 2019
-
Added PauliTerm.matrix() and PauliSum.matrix() methods
Added support for multi-qubit strings to PauliTerm.from_compact_str Added Tests for all of the above changed: pyquil/paulis.py changed: pyquil/tests/test_paulis.py changed: pyquil/tests/test_paulis_with_placeholders.py
Configuration menu - View commit details
-
Copy full SHA for 2d6e7f7 - Browse repository at this point
Copy the full SHA 2d6e7f7View commit details -
fixed formatting to be flake8 compliant
changed: pyquil/tests/test_paulis.py changed: pyquil/tests/test_paulis_with_placeholders.py
Configuration menu - View commit details
-
Copy full SHA for 49da535 - Browse repository at this point
Copy the full SHA 49da535View commit details
Commits on May 30, 2019
-
Updated matrix methods to make use of pyquil.unitary_tools.lifted_pauli
and the tests. Made the syntactical changes requested by @msohaibalam Zum Commit vorgemerkte Änderungen: geändert: pyquil/paulis.py geändert: pyquil/tests/test_paulis.py geändert: pyquil/tests/test_paulis_with_placeholders.py
Configuration menu - View commit details
-
Copy full SHA for 6b81833 - Browse repository at this point
Copy the full SHA 6b81833View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c0612f - Browse repository at this point
Copy the full SHA 7c0612fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 553c452 - Browse repository at this point
Copy the full SHA 553c452View commit details
Commits on Jul 3, 2019
-
Added @msohaibalams suggestions.
Fixed the dimensions of the resulting matrices, s.t. it produces the same results as pyquil.unitary_tools.lifted_pauli
Configuration menu - View commit details
-
Copy full SHA for cad37a4 - Browse repository at this point
Copy the full SHA cad37a4View commit details
Commits on Aug 31, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 91ee70f - Browse repository at this point
Copy the full SHA 91ee70fView commit details -
Added better string conversion to paulis.py
- Added PauliSum.from_compact_str() - Added support for multiqubit strings to PauliTerm.from_compact_str() - Added PauliSum.compact_str() changed: paulis.py changed: tests/test_paulis.py changed: tests/test_paulis_with_placeholders.py
Configuration menu - View commit details
-
Copy full SHA for 9f27c7e - Browse repository at this point
Copy the full SHA 9f27c7eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5aa27eb - Browse repository at this point
Copy the full SHA 5aa27ebView commit details -
Updated the changelog and docs
changed: CHANGELOG.md changed: docs/source/apidocs/pauli.rst
Configuration menu - View commit details
-
Copy full SHA for 3f5a7c6 - Browse repository at this point
Copy the full SHA 3f5a7c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2891407 - Browse repository at this point
Copy the full SHA 2891407View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e7a47e - Browse repository at this point
Copy the full SHA 5e7a47eView commit details
Commits on Sep 6, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 917db7d - Browse repository at this point
Copy the full SHA 917db7dView commit details
Commits on Sep 18, 2019
-
Configuration menu - View commit details
-
Copy full SHA for e761981 - Browse repository at this point
Copy the full SHA e761981View commit details -
Added more tests and assertions to catch wrong pauli strings.
Committed changes: changed: paulis.py changed: tests/test_paulis.py
Configuration menu - View commit details
-
Copy full SHA for f71a67c - Browse repository at this point
Copy the full SHA f71a67cView commit details
Commits on Sep 19, 2019
-
Added more tests for PauliSum.from_compact_str()
- Test that simplification works correctly - Test that PauliSums of length 1 work correctly - Test that strings containing the identity work correctly Changed files: changed: tests/test_paulis.py
Configuration menu - View commit details
-
Copy full SHA for 6e3c99b - Browse repository at this point
Copy the full SHA 6e3c99bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 63641b6 - Browse repository at this point
Copy the full SHA 63641b6View commit details
Commits on Sep 20, 2019
-
Co-Authored-By: Peter Karalekas <peter@rigetti.com>
Configuration menu - View commit details
-
Copy full SHA for 6b0bd42 - Browse repository at this point
Copy the full SHA 6b0bd42View commit details -
Co-Authored-By: Peter Karalekas <peter@rigetti.com>
Configuration menu - View commit details
-
Copy full SHA for e5ee352 - Browse repository at this point
Copy the full SHA e5ee352View commit details -
Co-Authored-By: Peter Karalekas <peter@rigetti.com>
Configuration menu - View commit details
-
Copy full SHA for 07d6882 - Browse repository at this point
Copy the full SHA 07d6882View commit details -
Configuration menu - View commit details
-
Copy full SHA for d91b12e - Browse repository at this point
Copy the full SHA d91b12eView commit details