QuantumApplicationLab / vqls-prototype

A Variational Quantum Linear Solver Prototype for Qiskit
Apache License 2.0
12 stars 4 forks source link

Add compatibility with EstimatorV2 (`qiskit-aer` and `qiskit-ibm-runtime`) #19

Closed Cmurilochem closed 1 month ago

Cmurilochem commented 2 months ago

Initial attempt to make vqls-prototype compatible with different types of Estimators.

Idea

Implementation of two additional classes that create Estimator and Sampler runs according to their provenance.

Limitations

Closes #18.

coveralls commented 1 month ago

Pull Request Test Coverage Report for Build 9975455857

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
vqls_prototype/primitives_run_builder/estimator_run_builder.py 32 34 94.12%
vqls_prototype/primitives_run_builder/sampler_run_builder.py 29 31 93.55%
vqls_prototype/hadamard_test/hadamard_overlap_test.py 10 14 71.43%
vqls_prototype/primitives_run_builder/base_run_builder.py 21 25 84.0%
vqls_prototype/hadamard_test/direct_hadamard_test.py 8 13 61.54%
vqls_prototype/hadamard_test/hadamard_test.py 10 15 66.67%
<!-- Total: 113 135 83.7% -->
Files with Coverage Reduction New Missed Lines %
vqls_prototype/hadamard_test/hadamard_overlap_test.py 1 85.71%
<!-- Total: 1 -->
Totals Coverage Status
Change from base Build 9908823839: 0.2%
Covered Lines: 1442
Relevant Lines: 1751

💛 - Coveralls