Skip to content
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

Separate State Preparation from Initialize #7666

Merged
merged 49 commits into from
Mar 25, 2022
Merged
Show file tree
Hide file tree
Changes from 48 commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
389493c
Split initialize and stateprep first attempt
Jan 17, 2022
b4bc470
Tidied up code and added some tests
javabster Feb 15, 2022
ce41772
:sparkles: lint :sparkles:
javabster Feb 15, 2022
47e21c8
Tidied up code
javabster Feb 15, 2022
bd32144
Removed unnecessary file
javabster Feb 15, 2022
38c1b7a
Merge branch 'main' into stateprep-6246
javabster Feb 15, 2022
20c2fc3
Formatted docstrings
javabster Feb 15, 2022
18d25f4
Formatted docstrings again
javabster Feb 15, 2022
9caa0e2
:sparkles: lint again :sparkles:
javabster Feb 16, 2022
bff8d76
Fixed some docs bugs and added tests
javabster Feb 17, 2022
34a1e68
Update docs and lint
javabster Feb 17, 2022
06d059b
docs fix
javabster Feb 18, 2022
8c96081
Change StatePrep to a Gate and update tests
javabster Feb 18, 2022
b33a029
Fixed tests and docs
javabster Feb 22, 2022
67535ee
:sparkles: lint :sparkles:
javabster Feb 23, 2022
7f06d8d
Fixed test
javabster Feb 23, 2022
f4fd20f
Add parmas getter and setter
javabster Feb 26, 2022
46a910e
Fix stateprep inverse
javabster Feb 26, 2022
62b279e
Merge branch 'main' into stateprep-6246
javabster Feb 28, 2022
5e5d469
Fix merge issues
javabster Feb 28, 2022
e16f30e
Merge branch 'main' into stateprep-6246
javabster Feb 28, 2022
0a806c8
Fix stateprep inverse
javabster Mar 10, 2022
e94505c
Merge branch 'main' into stateprep-6246
javabster Mar 11, 2022
7fc679a
Fix broadcast_arg error
javabster Mar 14, 2022
ed18c06
Merge branch 'main' into stateprep-6246
javabster Mar 14, 2022
64a2506
:sparkles: Lint! :sparkles:
javabster Mar 15, 2022
a0d92f1
Merge branch 'stateprep-6246' of https://github.com/javabster/qiskit-…
javabster Mar 15, 2022
cb361b9
Updated based on PR comments
javabster Mar 18, 2022
04ebd3d
:sparkles: Lint :sparkles:
javabster Mar 18, 2022
bfb3416
Merge branch 'main' into stateprep-6246
javabster Mar 19, 2022
6c95433
Update qiskit/extensions/quantum_initializer/state_preparation.py
javabster Mar 21, 2022
e722d65
Moved stateprep to circuit library
javabster Mar 21, 2022
384d0e1
Adjust label logic
javabster Mar 22, 2022
bf3a7b3
Update qiskit/circuit/library/data_preparation/state_preparation.py
javabster Mar 23, 2022
9fa5d33
Update qiskit/circuit/library/data_preparation/state_preparation.py
javabster Mar 23, 2022
df9f263
Update qiskit/circuit/library/data_preparation/state_preparation.py
javabster Mar 23, 2022
4dab2a6
Merge branch 'main' into stateprep-6246
javabster Mar 23, 2022
9957485
Fixed docstrings and tests
javabster Mar 23, 2022
6e89658
Update qiskit/circuit/library/data_preparation/state_preparation.py
javabster Mar 24, 2022
e61a05d
Added repeat test
javabster Mar 24, 2022
f9b4d03
Merge branch 'main' into stateprep-6246
javabster Mar 24, 2022
b856ded
Merge branch 'main' into stateprep-6246
Cryoris Mar 25, 2022
42f0e29
Added test and reno
javabster Mar 25, 2022
f87f555
Merge branch 'stateprep-6246' of https://github.com/javabster/qiskit-…
javabster Mar 25, 2022
cd65b5c
Fix label issue
javabster Mar 25, 2022
0dd97b8
Fixed docstrings
javabster Mar 25, 2022
08e70d6
:sparkles: Lint! :sparkles:
javabster Mar 25, 2022
681fdb6
Merge branch 'main' into stateprep-6246
javabster Mar 25, 2022
e4735d3
Merge branch 'main' into stateprep-6246
mergify[bot] Mar 25, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion qiskit/circuit/library/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@
PauliFeatureMap
ZFeatureMap
ZZFeatureMap
StatePreparation

NCT (Not-CNOT-Toffoli) template circuits
========================================
Expand Down Expand Up @@ -416,7 +417,7 @@
ExcitationPreserving,
QAOAAnsatz,
)
from .data_preparation import PauliFeatureMap, ZFeatureMap, ZZFeatureMap
from .data_preparation import PauliFeatureMap, ZFeatureMap, ZZFeatureMap, StatePreparation
from .quantum_volume import QuantumVolume
from .fourier_checking import FourierChecking
from .graph_state import GraphState
Expand Down
7 changes: 2 additions & 5 deletions qiskit/circuit/library/data_preparation/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@
from .pauli_feature_map import PauliFeatureMap
from .z_feature_map import ZFeatureMap
from .zz_feature_map import ZZFeatureMap
from .state_preparation import StatePreparation

__all__ = [
"PauliFeatureMap",
"ZFeatureMap",
"ZZFeatureMap",
]
__all__ = ["PauliFeatureMap", "ZFeatureMap", "ZZFeatureMap", "StatePreparation"]
Loading