Comments (2)
In ignis the tests were split into 3 parts:
- tests for the circuit generation
- tests for the fitters, based on pre-generated JSON data
- functions to generate the JNON files (not running automatically, but we need to run them when the code is updated to update the JSON files)
However, in qiskit.experiments we can also have end-to-end tests, as in the T1 PR #5
This approach is useful for T1 and similar experiments, but can take long time when generating circuits for the advanced methods, such as RB and all its variants (interleaved, cnot-dihedral, purity etc.), QV etc, in particular if we want to check composite experiments.
So, which approach should we take here?
from qiskit-experiments.
At minimum we should have independent tests for circuit generation and analysis.
For RB circuit generation you can check that each circuit implements an identity by running Clifford(circuit)
, and check that the metadata reports the correct number of cliffords (this might be a bit trickier since might have to count barriers for this since we decompose when constructing the circuit), and that you have the right number of sequences. You could also check setting a seed produces deterministic output for repeat experiments.
For fitter we can use pre-generated or synthetic data to check fitting works.
Having an end to end test would be nice, but for RB we might have to wait until we can speed up the RB code since it will take too long.
from qiskit-experiments.
Related Issues (20)
- Deprecate BackendData.is_simulator HOT 1
- Experiment serialization HOT 9
- Investigate performance of ExperimentData regarding adding more data to it
- `save` to report success and result database link
- Copied analysis result not saving to cloud service
- Clearly mark analysis result names in documentation
- Build release notes for older patch releases
- Implementing an adaptive Trotter decomposition that dynamically adjusts the number of Trotter steps based on the complexity of the quantum circuit. HOT 2
- Median Quartiles and Box Plots HOT 1
- Investigation of Quantum Sources for Time-Correlated Noise in Solid-State Quantum Devices HOT 2
- Error in the plotter if there is no valid fitter error
- Returning `Pauli` or `SparsePauliOp` analysis results implicitly calls their `to_matrix` method when adding to dataframe HOT 2
- Progress/status indicator?
- Randomized benchmarking fails to analyze the results from IBM Eagle, due to the lack of 2Q gate decomposition value for ECR gate
- Add `SamplerV2` support
- Jobs retrieved from hardware do not write "physical_qubits" metadata, causing MitigatedTomographyAnalysis to fail HOT 2
- Extensions patch release blocking `qiskit` PR HOT 3
- Regularize provider/service interface
- Track changes in experiment circuits
- Update visualization tutorial
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qiskit-experiments.