Quantum neural network with ensemble learning to mitigate barren plateaus and cost function concentration