-
Notifications
You must be signed in to change notification settings - Fork 65
Allowing arbitrary initialization of the input nodes #135
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
Merged
Merged
Changes from all commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
89288f8
update
mgarnier59 a6da6d3
up
mgarnier59 187e650
statevector constructor for input initialization
mgarnier59 8d7f18b
fixed TN files for BasicStates modification
mgarnier59 cbedf08
add tests for statevec + some black
mgarnier59 818844d
modifying Backends and simulator, add tests
mgarnier59 46bdfa5
updates
mgarnier59 86ccb49
cancelled modification in tensor.
mgarnier59 c2487a4
Update statevec.py
mgarnier59 882cac7
commented all statevec.Nqubit attributes
mgarnier59 3415369
update statevec.__init__. DM ongoing
mgarnier59 ab6781d
Constructors for statevec and DM
thierry-martinez 2c0c2ee
Fix tests for input states
thierry-martinez 506f9f6
implem arbitrary inputs for circuit statevector
mgarnier59 10169b4
update test_pattern.py
mgarnier59 db6d54e
Circuit measure handling
thierry-martinez 25aa338
Some simplifications
thierry-martinez 7d488c3
Update CHANGELOG.md, isort, black
thierry-martinez 209e77c
Use typing.Union instead of | to please Python 3.8/3.9
thierry-martinez 714dc12
add docs + cleanup
mgarnier59 4aafe65
Update statevec.py
mgarnier59 9d93027
integrated review comments
mgarnier59 ad2dc71
additional comment handling
mgarnier59 6181ef3
Delete .pre-commit-config.yaml
mgarnier59 02eaa6c
Merge branch 'master' into input-init
thierry-martinez f3102e4
isort
thierry-martinez 36615d2
updates
mgarnier59 0a4fa52
black
mgarnier59 ff9769e
black
mgarnier59 d4d3de8
Ruff-suggested fixes
thierry-martinez f377001
Check |+> input states for Pauli-preprocessed patterns
thierry-martinez 8836a61
Fix check for density matrix
thierry-martinez 6ebfcbe
isort
thierry-martinez 8bf2143
WIP
thierry-martinez 234f65d
Merge remote-tracking branch 'origin/master' into input-init
thierry-martinez 54c0338
Fix None result and rng fixtures
thierry-martinez 7e56152
Use NDArray in types and remove useless coercion to np.ndarray
thierry-martinez 28f6aaa
Use `pytest_configure` instead of a fixture for constant depth
thierry-martinez 1adc037
Add missing type annotations
thierry-martinez 51335dc
Truncate matrix in error messages
thierry-martinez cabd019
Rename SV_Data into Data
thierry-martinez 55331b5
Use DEPTH constant instead of pytest.depth
thierry-martinez 9f7a80d
Merge remote-tracking branch 'origin/master' into input-init
thierry-martinez 5715ab0
Merge remote-tracking branch 'origin/master' into input-init
thierry-martinez c406422
Black and isort
thierry-martinez 858bf0a
Fix for Python <3.10
thierry-martinez dcf529e
Black
thierry-martinez 20d0237
Remove reference to `SV_Data` in doc-comment
thierry-martinez 2640845
Add tests for density matrix and tensor network backends
thierry-martinez 9e363b1
Increase number of shots in test_transpiler to reduce failures
thierry-martinez 05aa7c9
NotImplementedError for Pauli preprocessing and TN
thierry-martinez 19dfd8a
Lower requirement for test_empty_output_nodes
thierry-martinez File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's rewrite using
np.random.Generatorlater...