Background. The need to implement controlled coupling between qubits, which are the logical elements of quantum devices such as quantum computers and quantum networks, requires, along with the use of traditional methods, the development of new, more effective ways to organize the interaction of qubits with the microwave fields of resonators used to generate and control the entanglement of qubits. As one of these methods, a method based on the influence of frequency-regulated radio frequency signals on a superconducting Josephson qubit connected by a large Josephson junction to a free qubit has been proposed.
 Aim. The influence of the Kerr medium of the resonator, in which one of the two qubits is placed, on their entanglement induced by the coherent or thermal frequency-regulated radio frequency field of the resonator is considered.
 Methods. To analyze the dynamics of the system under consideration, the solution of the quantum Liouville equation for the full density matrix is studied. An exact solution o this equation is found in the case of initial separable and entangled states of qubits. The exact solution of the evolution equation is used to calculate the criterion of qubit-qubit entanglement – cconcurrence. Numerical modeling of the concurrence was carried out for various states of qubits, coherent and thermal fields of the resonator, as well as various values of the intensity of the resonator field and the Kerr nonlinearity parameter.
 Results. It is shown that for separable initial states of qubits, the inclusion of Kerr nonlinearity reduces the maximum degree of entanglement of qubits. For an entangled initial state of qubits, the possibility of creating long-lived entangled states in the presence of Kerr nonlinearity is shown.
 Conclusion. The type of initial states of qubits and the range of values of the intensities of the resonator fields and the Kerr nonlinearity parameters have been established, for which the most effective control and operation of the evolution of qubits, as well as the degree of their entanglement, in the physical system under consideration, is possible.