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

27 lines
806 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 (v0.29)
description: API reference for qiskit.utils.local_hardware_info in qiskit v0.29
in_page_toc_min_heading_level: 1
python_api_type: function
python_api_name: qiskit.utils.local_hardware_info
---
<span id="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.18/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>