-
Notifications
You must be signed in to change notification settings - Fork 12
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
Dta2-255 consistent naming #139
Merged
Merged
Changes from 1 commit
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
ab94298
feat: refactor magic state distillation
AthenaCaesura e2a2039
fix: merge conflicts
AthenaCaesura 4b0933b
feat: make tests reflect new structure
AthenaCaesura 95978f8
feat: rename upper level files
AthenaCaesura 57ec93a
fix: test file names
AthenaCaesura bf41f6b
fix: problem_embedding -> problem_embeddings
AthenaCaesura fd8f229
feat: final organization of src
AthenaCaesura 6714c09
Merge remote-tracking branch 'origin' into DTA2-DTA2-255-consistent-n…
AthenaCaesura 0dbd97b
fix: organize tests to reflect src
AthenaCaesura c9d8a71
fix: passes muster
AthenaCaesura 3bbed10
fix: isort issues
AthenaCaesura 56c5946
fix: respond to PR comments
AthenaCaesura 49df9a6
fix: rename i<->e in heisenburg
AthenaCaesura 1395fa7
fix: forgot to save on previous commit
AthenaCaesura 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 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 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 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 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 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 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 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 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 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 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 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 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 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
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,13 @@ | ||
################################################################################ | ||
# © Copyright 2022 Zapata Computing Inc. | ||
################################################################################ | ||
from .data_structures import ( | ||
BasicArchitectureModel, | ||
QuantumProgram, | ||
get_program_from_circuit, | ||
) | ||
from .algorithms import ( | ||
from .algorithms.data_structures import ( | ||
AlgorithmImplementation, | ||
QuantumProgram, | ||
get_algorithm_implementation_from_circuit, | ||
get_program_from_circuit, | ||
) | ||
|
||
from .data_structures.hardware_architecture_models import ( | ||
from .quantum_hardware_modeling.hardware_architecture_models import ( | ||
BASIC_ION_TRAP_ARCHITECTURE_MODEL, | ||
BASIC_SC_ARCHITECTURE_MODEL, | ||
) |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +0,0 @@ | ||
from .qaoa import qaoa_algorithm | ||
from .time_evolution import ( | ||
qsp_time_evolution_algorithm, | ||
trotter_time_evolution_algorithm, | ||
) | ||
|
||
from .algorithm_implementation import ( | ||
AlgorithmImplementation, | ||
get_algorithm_implementation_from_circuit, | ||
) | ||
16 changes: 8 additions & 8 deletions
16
src/benchq/data_structures/__init__.py → ...hq/algorithms/data_structures/__init__.py
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
################################################################################ | ||
# © Copyright 2022-2023 Zapata Computing Inc. | ||
################################################################################ | ||
from .error_budget import ErrorBudget | ||
from .hardware_architecture_models import ( | ||
BASIC_ION_TRAP_ARCHITECTURE_MODEL, | ||
BASIC_SC_ARCHITECTURE_MODEL, | ||
DETAILED_ION_TRAP_ARCHITECTURE_MODEL, | ||
BasicArchitectureModel, | ||
DetailedArchitectureModel, | ||
DetailedIonTrapModel, | ||
|
||
from .algorithm_implementation import ( | ||
AlgorithmImplementation, | ||
get_algorithm_implementation_from_circuit, | ||
) | ||
|
||
# Data structures used to represent algorithms and how they are implemented | ||
from .error_budget import ErrorBudget | ||
from .graph_partition import GraphPartition | ||
from .quantum_program import QuantumProgram, get_program_from_circuit |
This file contains 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
File renamed without changes.
This file contains 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
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains 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
File renamed without changes.
5 changes: 3 additions & 2 deletions
5
...hq/algorithms/utils/compression_gadget.py → ...gorithms/lde_solver/compression_gadget.py
This file contains 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 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.
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.
Typo: "hiesenburg" to "heisenberg"
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.
Done!