Recently, a new field that combines metaheuristic algorithms and quantum computing has been created and is being applied to optimization problems in various fields. However, the application of quantum computing-based metaheuristic algorithms to the optimization of structural engineering is insufficient. Therefore, in this paper, we tried to optimize the weight of the truss structure using the QbHS (quantum-based harmony search) algorithm, which combines quantum computing and conventional HS (harmony search) algorithms. First, the convergence performance according to the parameter change of the QbHS algorithm was compared. The parameters selected for the comparison of convergence performance are QHMS, QHMCR, QPAR, ϵ, and θr. The selected parameters were compared using six benchmark functions, and the range for deriving the optimal convergence performance was found. In addition, weight optimization was performed by applying it to a truss structure with a discrete cross-sectional area. The QbHS algorithm derived a lower weight than the QEA (quantum-inspired evolutionary algorithm) and confirmed that the convergence performance was better. A new algorithm that combines quantum computing and metaheuristic algorithms is required for application to various engineering problems, and this effort is essential for the expansion of future algorithm development.