Quantum-Carnot engine for particle confined to cubic potential