qiskit-documentation/docs/api/qiskit/0.41/qiskit.utils.local_hardware...

25 lines
734 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: local_hardware_info
description: API reference for qiskit.utils.local_hardware_info
in_page_toc_min_heading_level: 1
python_api_type: function
python_api_name: qiskit.utils.local_hardware_info
---
# qiskit.utils.local\_hardware\_info
<Function id="qiskit.utils.local_hardware_info" isDedicatedPage={true} github="https://github.com/qiskit/qiskit/tree/stable/0.23/qiskit/utils/multiprocessing.py" signature="local_hardware_info()">
Basic hardware information about the local machine.
Gives actual number of CPUs in the machine, even when hyperthreading is turned on. CPU count defaults to 1 when true count cant be determined.
**Returns**
The hardware information.
**Return type**
dict
</Function>