Skip to content

Deduplicate expectation value code in simulators #4209

Open
@95-martin-orion

Description

@95-martin-orion

After PR #3979, we will have separate but near-identical implementations of simulate_expectation_values_sweep defined in sparse_simulator and density_matrix_simulator. it should be possible to deduplicate this code by moving it into a mutual parent class of these simulators - either SimulatorBase or a new subclass of it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions