-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spectroscopy #31
Spectroscopy #31
Conversation
__analysis_class__ = SpectroscopyAnalysis | ||
|
||
# Supported units for spectroscopy. | ||
__units__ = {"Hz": 1.0, "kHz": 1.e3, "MHz": 1.e6, "GHz": 1.e9} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's the role of Terra to provide conversion methods between units. It's possibly already somewhere in Terra, and if so, should be used. If not then some day it can be good to move this logic to Terra.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had a look in terra and could not find a unit management system.
* Improved docstring.
* Improved docstring. * Implemented _fit_quality.
* Fixed typing issue.
* Made meas level 1 default.
* Changed to a Gaussian fit * Amended result. * Added plotting. * Default meas level is now classified.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good. However does this belong to the calibration? Perhaps we need to discuss Calibration vs Characterization now.
* Added check on backend.
* Minor cosmetics.
* Fixed error scalling issue in SVD.
…aProcessor as this will often be reused. * Aligned with PR qiskit-community#39 on options.
…into spectroscopy
* Added a bugfix in the SVD node.
* Qubit spectroscopy experiment which applies a GaussianSquare pulse and scans the frequency to find the resonance of the qubit.
Summary
This is a qubit spectroscopy experiment that scans the frequency of a
GaussianSquare
pulse.Details and comments
The spectroscopy experiment implements the
Spectroscopy
experiment and aSpectroscopyAnalysis
class. This is done with a pulse schedule with aset_frequency
instruction followed by aGaussianSquare
pulse encapsulated in a gate. AGaussianSquare
pulse was chosen as it allows us to have Square, Gaussian, and GaussianSquare pulses. The circuits that are run areThe analysis is based on a fit to a Gaussian function with default values based on the x and y data.