Skip to content
This repository has been archived by the owner on Jun 12, 2023. It is now read-only.

[WIP] Experiment class framework #514

Closed

Conversation

chriseclectic
Copy link
Collaborator

Summary

Draft of experiment framework. This is still in draft and subject to change

Details and comments

Includes outline for base experiment classes:

  • Generator -- for experiment circuit generation
  • Analysis -- for experiment result analysis / fitting
  • Experiment -- for putting together generation and analysis into a single class and any more complicated flow

Includes MVP implementation the following experiments:

  • Measurement error mitigator calibration
    • Tensored mitigator
    • Complete mitigator
    • CTMP mitigator
  • Expectation value
    • Pauli basis measurement method
    • Snapshot method (for Qiskit Aer)

@chriseclectic chriseclectic marked this pull request as draft October 14, 2020 22:14
This was referenced Oct 28, 2020
"""
# Get circuits and metadata
exp_id = str(uuid.uuid4())
circuits = transpile(self.generator.circuits(),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Transpiling in this manner prevents the user from controlling the transpilation process, meaning one cannot transpile to a given basis (which affect how simulators handle noise models).

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In RB, transpiling into basis gates is important in order to calculate the error per gate from the EPC (error per clifford)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants