File tree 2 files changed +21
-9
lines changed
2 files changed +21
-9
lines changed Original file line number Diff line number Diff line change 18
18
19
19
.. currentmodule:: qiskit.utils
20
20
21
+ Deprecations
22
+ ============
23
+
21
24
.. autofunction:: add_deprecation_to_docstring
22
25
.. autofunction:: deprecate_arg
23
26
.. autofunction:: deprecate_arguments
24
27
.. autofunction:: deprecate_func
25
28
.. autofunction:: deprecate_function
26
- .. autofunction:: local_hardware_info
27
- .. autofunction:: is_main_process
29
+
30
+ SI unit conversion
31
+ ==================
32
+
28
33
.. autofunction:: apply_prefix
29
34
.. autofunction:: detach_prefix
35
+
36
+ Class tools
37
+ ===========
38
+
30
39
.. autofunction:: wrap_method
31
40
41
+ Multiprocessing
42
+ ===============
43
+
44
+ .. autofunction:: local_hardware_info
45
+ .. autofunction:: is_main_process
32
46
33
- Parallel Routines
34
- -----------------
35
47
A helper function for calling a custom function with python
36
48
:class:`~concurrent.futures.ProcessPoolExecutor`. Tasks can be executed in parallel using this function.
37
49
38
50
.. autofunction:: parallel_map
39
51
40
- Optional Dependency Checkers (:mod:`qiskit.utils.optionals`)
41
- ============================================================
52
+ Optional Dependency Checkers
53
+ ============================
42
54
43
55
.. automodule:: qiskit.utils.optionals
44
56
"""
Original file line number Diff line number Diff line change 13
13
"""
14
14
.. currentmodule:: qiskit.utils.optionals
15
15
16
- Qiskit has several features that are enabled only
17
- if certain *optional* dependencies are satisfied. This module is a collection of objects that can
16
+ Qiskit has several features that are enabled only if certain *optional* dependencies
17
+ are satisfied. This module, :mod:`qiskit.utils.optionals`, has a collection of objects that can
18
18
be used to test if certain functionality is available, and optionally raise
19
19
:class:`.MissingOptionalLibraryError` if the functionality is not available.
20
20
52
52
:widths: 25 75
53
53
54
54
* - .. py:data:: HAS_CONSTRAINT
55
- - `python-constraint <https://github.com/python-constraint/python-constraint>__ is a
55
+ - `python-constraint <https://github.com/python-constraint/python-constraint>` __ is a
56
56
constraint satisfaction problem solver, used in the :class:`~.CSPLayout` transpiler pass.
57
57
58
58
* - .. py:data:: HAS_CPLEX
You can’t perform that action at this time.
0 commit comments