- Trotter circuit (e.g., 2-3 qubits): print gate count before and after optimization; examine the results (e.g. expectations and simulation runtime with and without optimization).
## Test cases: Identity circuit (no optimization) & VQE Deuteron H2
## Goals
- Demonstrating result post-processing (expectation calculation and noise mitigation).
- NISQ-era algorithms and utilities: QCOR optimizer, variational algorithms, noise mitigation, etc.
## Outline
- Circuit with an Identity sequence: repeating CNOT gates (no optimization), examining the expectation calculation (theoretical = 1.0) with and without noise mitigation. CLI option to enable noise mitigation on any backend (simulator and IBM)
- [Skipped] Sweeping VQE ansatz: showing the energy values with and without noise mitigation.
## Notes:
- Install mitiq: `pip3 install mitiq`
- Install Qiskit: `pip3 install qiskit`
- Make sure `~/.ibm_config` file is present.
- Noise model JSON generation
(mitiq performs not very well with device noise model. Hence, use theoretical noise model for demonstration purposes)