Text this: Computer science approach to quantum control