We present a scalable solid-state system in which the superconducting charge qubits are coupled with a nanomechanical resonator (NAMR) to achieve highly entangled cluster states, which are responsible for one-way quantum computing via single-qubit measurements. Since the NAMR can play the essential role of the data bus, the long-range interactions among the qubits can occur. Therefore, without using the interacting picture we can directly obtain the long-range Ising-like unitary operator ${U}_{z}(\ensuremath{\lambda})=\mathrm{exp}[i\ensuremath{\lambda}{S}_{z}^{2}]$ with
Sz the collective spin operator in
z direction and $\ensuremath{\lambda}$ a parameter, which is insensitive to the thermal state of the NAMR. Based on this unitary operator, a set of highly entangled cluster states can be produced by efficient one-step generation. Moreover, the robustness of the highly entangled cluster states with respect to unavoidable parameter variations is also demonstrated.
We propose a scheme for generating squeezed states based on a superconducting hybrid system. Our system consists of a nanomechanical resonator, a superconducting flux qubit, and a superconducting transmission line resonator. Using our proposal, one can easily generate the squeezed states of the nanomechanical resonator. In our scheme, the nonlinear interaction between the nanomechanical resonator and the superconducting transmission line resonator can be implemented by the flux qubit as 'nonlinear media' with a tunable Josephson energy. The realization of the nonlinearity does not need any operations on the flux qubit and just needs to adiabatically keep it at the ground state, which can greatly decrease the effect of the decoherence of the flux qubit on the squeezed efficiency.