Causal machine learning in a quantum world