Optimal quantum control of charging quantum batteries | Synapse