Skip to content
This repository was archived by the owner on Aug 21, 2023. It is now read-only.

Commit 893b1aa

Browse files
committed
Update circuit_instruction_map->instruction_schedule_map, although this should be removed when the feature is implemented
1 parent 6b17c75 commit 893b1aa

1 file changed

Lines changed: 2 additions & 11 deletions

File tree

qiskit/advanced/terra/programming_with_pulses/getting_started_with_pulse.ipynb

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -156,20 +156,11 @@
156156
"cell_type": "code",
157157
"execution_count": 6,
158158
"metadata": {},
159-
"outputs": [
160-
{
161-
"name": "stderr",
162-
"output_type": "stream",
163-
"text": [
164-
"/Users/lauren@ibm.com/code/qiskit-terra/qiskit/providers/models/pulsedefaults.py:176: DeprecationWarning: The `circuit_instruction_map` attribute has been renamed to `instruction_schedule_map`.\n",
165-
" \"`instruction_schedule_map`.\", DeprecationWarning)\n"
166-
]
167-
}
168-
],
159+
"outputs": [],
169160
"source": [
170161
"# Remove when this is implemented\n",
171162
"def measure_all(backend):\n",
172-
" meas_sched = backend.defaults().circuit_instruction_map.get('measure', list(range(backend.configuration().n_qubits)))\n",
163+
" meas_sched = backend.defaults().instruction_schedule_map.get('measure', list(range(backend.configuration().n_qubits)))\n",
173164
" return meas_sched\n",
174165
"\n",
175166
"# from qiskit.pulse import measure_all # This feature is in progress\n",

0 commit comments

Comments
 (0)