Classical and quantum design theory