Kerr-nonlinear resonator by two-photon driving, npj Quant. Inf. **3**, 18 (2017).

H. Goto, Universal quantum computation with a nonlinear oscillator network, Phys. Rev. A **93**, 050301(R) (2016).

S. E. Nigg, N. Lörch, and R. P. Tiwari, Robust quantum optimizer with full connectivity, Sci. Adv. **3**, e1602273 (2017).

S. Puri, C. K. Andersen, A. L. Grimsmo, and A. Blais, Quantum annealing with all-to-all connected nonlinear oscillators, Nat. Commun. **8**, 15785 (2017).

Z. R. Lin, et al. Josephson parametric phase-locked oscillator and its application to dispersive readout of superconducting qubits, Nat. Commun. **5**, 4480 (2014).

C. W. Gardiner and M. J. Collett, Input and output in damped quantum systems: Quantum stochastic differential equations and the master equation, Phys. Rev. A **31**, 3761 (1985).

D. F. Walls and G. J. Milburn, *Quantum Optics* (Springer, Berlin, 1994).

L.-M. Duan, A. Kuzmich, and H. J. Kimble, Cavity QED and quantum-information processing with “hot" trapped atoms, Phys. Rev. A **67**, 032305 (2003).

H. Goto and K. Ichimura, Quantum trajectory simulation of controlled phase-flip gates using the vacuum Rabi splitting, Phys. Rev. A **72**, 054301 (2005).

In this work, we assume a negative Kerr coefficient as in the case of Josephson parametric oscillators [@Lin2014a]. If the Kerr 