-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
area/simulationkind/design-issueA conversation around designA conversation around designtriage/discussNeeds decision / discussion, bring these up during Cirq CynqueNeeds decision / discussion, bring these up during Cirq Cynque
Description
The functionality for simulating as a product state is currently contained in SimulationProductState, which contains a mapping from qubit to SimulationState. SimulationState contains both quantum and classical data. It's a bit hacky because when combining or factoring states, it has to ensure classical data is consistent between all the factors. Not a huge problem, but it would just make more sense to move the functionality to the quantum layer, where classical data does not even come into play. Thus there should be a QuantumProductStateRepresentation that does basically what SimulationProductState does now. Then we can migrate our product state code to use that instead, and deprecate SimulationProductState.
Should be fine for post-1.0.
Metadata
Metadata
Assignees
Labels
area/simulationkind/design-issueA conversation around designA conversation around designtriage/discussNeeds decision / discussion, bring these up during Cirq CynqueNeeds decision / discussion, bring these up during Cirq Cynque