Closed andrea-pasquale closed 3 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 99.82%. Comparing base (
fc3a043
) to head (9891ae2
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This PR proposes to speed up
circuit.unitary()
which returns the unitary corresponding to the circuit by performing the multiplication of all matrices gates using sparse matrices instead. I think that it makes sense given that most of times we are dealing with single and two qubit gates, which could be seen as sparse operators for large number of qubits.Checklist: