§
    ¹³Ùg¬  ã                   ó.   — d Z ddlZddlZddlZd„ Zd„ ZdS )zMultiprocessing utilitiesé    Nc                  óŠ  — t          t          d¦  «        r"t          t          j        d¦  «        ¦  «        } nt          j        ¦   «         } | €d} nt          | dz  ¦  «        pd} t          j        ¦   «         d                     t          j	        ¦   «         ¦  «        t          j
        ¦   «         t          j        ¦   «         | dœ}|S )a  Basic hardware information about the local machine.

    Gives actual number of CPU's in the machine, even when hyperthreading is
    turned on. CPU count defaults to 1 when true count can't be determined.

    Returns:
        dict: The hardware information.
    Úsched_getaffinityr   Né   é   z, )Úpython_compilerÚpython_buildÚpython_versionÚosÚcpus)Úhasattrr
   Úlenr   Ú	cpu_countÚintÚplatformr   Újoinr   r	   Úsystem)Únum_cpusÚresultss     úR/granary/edev/quantum/lib/python3.11/site-packages/qiskit/utils/multiprocessing.pyÚlocal_hardware_infor      s²   € õ �rÐ&Ñ'Ô'ð "Ý•rÔ+¨AÑ.Ô.Ñ/Ô/ˆˆå”<‘>”>ˆØÐØˆˆå�x !‘|Ñ$Ô$Ð)¨ˆõ $Ô3Ñ5Ô5ØŸ	š	¥(Ô"7Ñ"9Ô"9Ñ:Ô:Ý"Ô1Ñ3Ô3ÝŒoÑÔØðð €Gð €Nó    c                  ó  — t          j        ¦   «         dk    r1t          t          j        ¦   «         t          j        j        ¦  «         S t          t          j        ¦   «         t          j        j        t          j        j        f¦  «         S )z2Checks whether the current process is the main oneÚWindows)r   r   Ú
isinstanceÚmpÚcurrent_processÚcontextÚSpawnProcessÚForkProcess© r   r   Úis_main_processr!   1   sj   € å„ÑÔ˜IÒ%Ð%Ý�bÔ0Ñ2Ô2µB´JÔ4KÑLÔLÐLÐLåÝÔÑ Ô ¥2¤:Ô#9½2¼:Ô;RÐ"Sñ
ô 
ð 
ð 	
r   )Ú__doc__Úmultiprocessingr   r   r
   r   r!   r    r   r   ú<module>r$      sS   ðð  Ð à Ð Ð Ð Ø €€€Ø 	€	€	€	ðð ð ð:
ð 
ð 
ð 
ð 
r   