Skip to content

Consolidate two similar pages (get-qpu-information and qpu-information)#4313

Open
abbycross wants to merge 114 commits intomainfrom
ajc/consolidate-qpu-info
Open

Consolidate two similar pages (get-qpu-information and qpu-information)#4313
abbycross wants to merge 114 commits intomainfrom
ajc/consolidate-qpu-info

Conversation

@abbycross
Copy link
Collaborator

@abbycross abbycross commented Nov 25, 2025

CC: @jyu00

Consolidate two files containing similar/overlapping content: Get backend information with Qiskit and QPU information.

@Eric-Arellano @frankharkins @arnaucasau FYI: when it is time to merge, can you please set up a redirect from qpu-information.mdx to get-qpu-information.ipynb?

Closes #4249

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@abbycross abbycross changed the title Ajc/consolidate qpu info Consolidate two similar pages (get-qpu-information and qpu-information) Nov 26, 2025
Copy link
Collaborator

@jyu00 jyu00 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry if I reviewed too early... didn't realize it's still in draft!

@abbycross abbycross linked an issue Dec 5, 2025 that may be closed by this pull request
@abbycross abbycross marked this pull request as ready for review February 25, 2026 21:52
@abbycross abbycross requested a review from a team February 25, 2026 21:52
@qiskit-bot
Copy link
Contributor

One or more of the following people are relevant to this code:

@jyu00 jyu00 mentioned this pull request Feb 25, 2026
9 tasks
"source": [
"## Static backend information\n",
"\n",
"Some information about a backend does not change regularly, such as its name, (version)(#qpu-versioning), the number of qubits it has, its processor type (the bird family name, which indicates the [topology](#coupling-map) and approximate qubit count), and the types of features it supports. This information is available as attributes of the `backend` object. For a full list of attributes, see the [`IBMBackend` API documentation](/docs/api/qiskit-ibm-runtime/ibm-backend). Find more information on versioning in the [QPU versioning](#qpu-versioning) section below.\n",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

such as its name, (version)(#qpu-versioning),

Is this a typo?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes indeed

"</Tabs>\n",
"\n",
"<span id=\"native-gates\"></span>\n",
"### Table of supported instructions\n",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What you did is fine, but we can also consolidate a bit by putting both delay and measure_* in the Non-unitary instructions row.

}
],
"source": [
"# calibration data with detailed properties of qubit 0\n",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we change this to something like

# calibration data with detailed properties of qubit 0, including its physical properties and some instruction properties (see the section below for more information)

Since the output show attributes like prob_meas0_prep1 that won't be explained until later.

Comment on lines +539 to +540
"frequency = qubit_props.get(\"frequency\", (None,))[0]\n",
"anharmonicity = qubit_props.get(\"anharmonicity\", (None,))[0]\n",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should remove these 2 since they are only available on Eagles.

}
],
"source": [
"# Retrieve qubit properties\n",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel this code block is a duplicate of the one above but better formatted. The one above shows a timestamp but doesn't explain what the timestamp is for. Maybe we can just keep this one?

"\n",
"| | |\n",
"| --- | --- |\n",
"| **View with Qiskit** | `backend.target['<instruction>'][<qubit 1>, <qubit 2> ].duration`|\n",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"| **View with Qiskit** | `backend.target['<instruction>'][<qubit 1>, <qubit 2> ].duration`|\n",
"| **View with Qiskit** | `backend.target['<instruction>'][<qubit 1>, ]`|\n",

RZ is a single qubit gate, and .duration reports just the duration, not error

"| **View with Qiskit** | `backend.target['<instruction>'][<qubit 1>, <qubit 2> ].duration`|\n",
"| **View on IBM Quantum Platform** | Calibration section: Qubit dropdown menu |\n",
"\n",
"#### `readout_length`\n",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is readout length in `` ?

"\n",
"| | |\n",
"| --- | --- |\n",
"| **View with Qiskit** | `backend.properties().readout_length(<qubit>)`|\n",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So, this is only for the measure instruction. To get the duration for measure_2 you need to follow the Single-qubit gate length code - i.e. backend.target['measure_2'][<qubit 1>, ].duration

"\n",
"| | |\n",
"| --- | --- |\n",
"| **View with Qiskit** | Find the [CLOPS code](https://github.com/qiskit-community/qiskit-device-benchmarking/tree/main/qiskit_device_benchmarking/clops#readme) in the Qiskit Community GitHub |\n",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"| **View with Qiskit** | Find the [CLOPS code](https://github.com/qiskit-community/qiskit-device-benchmarking/tree/main/qiskit_device_benchmarking/clops#readme) in the Qiskit Community GitHub |\n",
"| **Calculate with Qiskit** | Find the [CLOPS code](https://github.com/qiskit-community/qiskit-device-benchmarking/tree/main/qiskit_device_benchmarking/clops#readme) in the Qiskit Community GitHub |\n",

Comment on lines +828 to +829
"<Admonition type=\"tip\" title=\"Recommendations\">\n",
" - Try the [Grover's algorithm](/docs/tutorials/grovers-algorithm) tutorial.\n",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Having grovers here seems a bit out of place. How about

  • Learn how to Build noise models to do noisy classical simulation.
  • Review the Transpiler stages topic to learn about how the transpiler uses backend properties for circuit optimization.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

Combine QPU information and Get backend information qpu-information and get-qpu-information

3 participants