
    z	iG                    x    S r SSKJr  SSKJr  SSKJr  SSKJr  SSK	J
r
  \" SS	S
S9 S       SS jj5       rg)zXFunctions to generate the basic approximations of single qubit gates for Solovay-Kitaev.    )annotations)Gate)deprecate_func)GateSequence   )SolovayKitaevDecompositionz2.1ziUse the SolovayKitaevDecomposition class directly, to generate, store, and load the basic approximations.T)sinceadditional_msgpendingNc                p    [        XS9nUb  UR                  U5        UR                  R                  5       $ )a  Generates a list of :class:`GateSequence`\ s with the gates in ``basis_gates``.

Args:
    basis_gates: The gates from which to create the sequences of gates.
    depth: The maximum depth of the approximations.
    filename: If provided, the basic approximations are stored in this file.

Returns:
    List of :class:`GateSequence`\ s using the gates in ``basis_gates``.

Raises:
    ValueError: If ``basis_gates`` contains an invalid gate identifier.
)basis_gatesdepth)r   save_basic_approximations_skget_gate_sequences)r   r   filenamesks       w/home/james-whalen/.local/lib/python3.13/site-packages/qiskit/synthesis/discrete_basis/generate_basis_approximations.pygenerate_basic_approximationsr      s5    0 
$	IB
$$X.66$$&&    )N)r   zlist[str | Gate]r   intr   z
str | Nonereturnzlist[GateSequence])__doc__
__future__r   qiskit.circuitr   qiskit.utils.deprecationr   +qiskit._accelerate.synthesis.discrete_basisr   solovay_kitaevr   r    r   r   <module>r       sg    _ "  3 D 6 
	   GK'!'*-'9C'''r   