Skip to content

Returning Pauli or SparsePauliOp analysis results implicitly calls their to_matrix method when adding to dataframe #1417

@samanthavbarron

Description

@samanthavbarron

This line ends up trying to convert Operators to arrays, if included in the analysis results. If the operator is on a large number of qubits, this produces a large array.

https://github.com/Qiskit-Extensions/qiskit-experiments/blob/0bbd426dc257be6d35daf04d94bbb31e0d059648/qiskit_experiments/framework/analysis_result_table.py#L153

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions