|
1128 | 1128 | " },\n", |
1129 | 1129 | " \"zne\": {\n", |
1130 | 1130 | " \"amplifier\": \"pea\",\n", |
1131 | | - " \"return_all_extrapolated\": True,\n", |
1132 | | - " \"return_unextrapolated\": True,\n", |
1133 | 1131 | " \"extrapolated_noise_factors\": [0] + noise_factors,\n", |
1134 | 1132 | " },\n", |
1135 | 1133 | "}\n", |
1136 | 1134 | "experimental_opts[\"twirling\"] = {\n", |
1137 | 1135 | " \"num_randomizations\": num_randomizations,\n", |
1138 | 1136 | " \"shots_per_randomization\": shots_per_randomization,\n", |
1139 | 1137 | " \"strategy\": \"all\",\n", |
1140 | | - " # 'strategy':'active-accum'\n", |
1141 | 1138 | "}\n", |
1142 | 1139 | "\n", |
1143 | | - "options = EstimatorOptions(experimental=experimental_opts)\n", |
1144 | | - "estimator = Estimator(mode=backend, options=options)\n", |
| 1140 | + "estimator = Estimator(mode=backend, options=experimental_opts)\n", |
1145 | 1141 | "\n", |
1146 | 1142 | "\n", |
1147 | 1143 | "job = estimator.run([pub])" |
|
1617 | 1613 | "metadata": { |
1618 | 1614 | "description": "Implement the Krylov Quantum Diagonalization Algorithm (KQD) within the context of Qiskit patterns.", |
1619 | 1615 | "kernelspec": { |
1620 | | - "display_name": "Python 3", |
| 1616 | + "display_name": ".venv", |
1621 | 1617 | "language": "python", |
1622 | 1618 | "name": "python3" |
1623 | 1619 | }, |
|
1631 | 1627 | "name": "python", |
1632 | 1628 | "nbconvert_exporter": "python", |
1633 | 1629 | "pygments_lexer": "ipython3", |
1634 | | - "version": "3" |
| 1630 | + "version": "3.9.6" |
1635 | 1631 | }, |
1636 | 1632 | "title": "Krylov quantum diagonalization of lattice Hamiltonians\n" |
1637 | 1633 | }, |
|
0 commit comments