q-optimize / c3

Toolset for control, calibration and characterization of physical systems
https://c3-toolset.readthedocs.io/
Apache License 2.0
69 stars 35 forks source link

Qiskit with PWC gates #218

Closed lazyoracle closed 2 years ago

lazyoracle commented 2 years ago

What

Example usage of qiskit interface with pulse gates

Why

Closes #205

How

Remarks

The intended workflow for this feature is calibration type tasks where the piecewise constant description of a gate (or set of gates) is updated in every iteration of the calibration optimizer. E.g., with ORBIT, the circuits can remain as they are and the pwc description of the gates in the circuit can be updated by including a SetParamsGate at the end of the circuit with the modified pwc values for all the gate(s) being calibrated.

Checklist

Please include and complete the following checklist. Your Pull Request is (in most cases) not ready for review until the following have been completed. You can create a draft PR while you are still completing the checklist. Check the Contribution Guidelines for more details. You can mark an item as complete with the - [x] prefix

codecov[bot] commented 2 years ago

Codecov Report

Merging #218 (1eb51fc) into dev (5d6701d) will increase coverage by 0.42%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##              dev     #218      +/-   ##
==========================================
+ Coverage   74.30%   74.72%   +0.42%     
==========================================
  Files          38       38              
  Lines        5545     5516      -29     
==========================================
+ Hits         4120     4122       +2     
+ Misses       1425     1394      -31     
Impacted Files Coverage Δ
c3/qiskit/c3_backend.py 91.11% <100.00%> (+0.20%) :arrow_up:
c3/qiskit/c3_backend_utils.py 56.52% <100.00%> (+29.73%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 5d6701d...1eb51fc. Read the comment docs.