This repository was archived by the owner on Aug 21, 2023. It is now read-only.
Commit 7912e4d
Update parallel tools notebook for terra 0.9 (#774)
This commit fixes a few issues in the parallel when running on the
latest version of terra. The biggest issues is the
qiskit.quantum_info.synthesis.two_qubit_kak() function was renamed prior
to the 0.8 release to two_qubit_decompose() (from what I can tell
two_qubit_kak() in quantum_info synthesis was never included in a
release, although I might have missed it in my git log hunting). This
updates the call to use the proper function name. In addition because
of Qiskit/qiskit#2414 all bit level access as tuples has been
deprecated and will emit a warning, to remove the warnings this changes
the access to be attributes instead.1 parent a2bcabe commit 7912e4d
1 file changed
Lines changed: 5 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
| 131 | + | |
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | | - | |
| 135 | + | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
| 138 | + | |
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| |||
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | 207 | | |
215 | 208 | | |
216 | 209 | | |
| |||
230 | 223 | | |
231 | 224 | | |
232 | 225 | | |
233 | | - | |
| 226 | + | |
234 | 227 | | |
235 | 228 | | |
236 | 229 | | |
| |||
0 commit comments