def __init__(
        self,
        precision: int = 10,
        version: str = '2.0',
        qubit_id_map: Mapping[cirq.Qid, str] | None = None,
        meas_key_id_map: dict[str, str] | None = None,
        meas_key_bitcount: dict[str, int] | None = None,
    ) -> None:
        """Inits QasmArgs.

        Args:
            precision: The number of digits after the decimal to show for
                numbers in the qasm code.
            version: The QASM version to target. Objects may return different
                qasm depending on version.
            qubit_id_map: A dictionary mapping qubits to qreg QASM identifiers.
            meas_key_id_map: A dictionary mapping measurement keys to creg QASM
                identifiers.
            meas_key_bitcount: A dictionary with of bits for each measurement
                key.
        """
        self.precision = precision
        self.version = version
        self.qubit_id_map = {} if qubit_id_map is None else qubit_id_map
        self.meas_key_id_map = {} if meas_key_id_map is None else meas_key_id_map
        self.meas_key_bitcount = {} if meas_key_bitcount is None else meas_key_bitcount
Inits QasmArgs.

        Args:
            precision: The number of digits after the decimal to show for
                numbers in the qasm code.
            version: The QASM version to target. Objects may return different
                qasm depending on version.
            qubit_id_map: A dictionary mapping qubits to qreg QASM identifiers.
            meas_key_id_map: A dictionary mapping measurement keys to creg QASM
                identifiers.
            meas_key_bitcount: A dictionary with of bits for each measurement
                key.
        
cirq-core/cirq/protocols/qasm.py