Open rmshaffer opened 5 months ago
Describe the feature you'd like The QubitTable class in autoqasm.simulator.program_context is almost an exact duplicate of the one in the default simulator repo.
QubitTable
autoqasm.simulator.program_context
The AutoQASM version of this class is here: https://github.com/amazon-braket/autoqasm/blob/812827123b3c9fb80090549e3bf0a7c8c5cc0224/src/autoqasm/simulator/program_context.py#L42-L181
The default simulator implementation is here: https://github.com/amazon-braket/amazon-braket-default-simulator-python/blob/a4d7f98cb123ae6a1092972e728d2dbb93cb27b5/src/braket/default_simulator/openqasm/program_context.py#L96-L150
We should merge the changes into the default simulator repo and delete the QubitTable class from this repo.
How would this feature be used? Please describe. This will reduce code duplication and improve maintainability.
Describe alternatives you've considered n/a
Additional context n/a
Describe the feature you'd like The
QubitTable
class inautoqasm.simulator.program_context
is almost an exact duplicate of the one in the default simulator repo.The AutoQASM version of this class is here: https://github.com/amazon-braket/autoqasm/blob/812827123b3c9fb80090549e3bf0a7c8c5cc0224/src/autoqasm/simulator/program_context.py#L42-L181
The default simulator implementation is here: https://github.com/amazon-braket/amazon-braket-default-simulator-python/blob/a4d7f98cb123ae6a1092972e728d2dbb93cb27b5/src/braket/default_simulator/openqasm/program_context.py#L96-L150
We should merge the changes into the default simulator repo and delete the
QubitTable
class from this repo.How would this feature be used? Please describe. This will reduce code duplication and improve maintainability.
Describe alternatives you've considered n/a
Additional context n/a