Carl Gustav Jung was an eminent psychiatrist with some quite controversial ideas. Wolfgang Pauli was an eminent physicist, who worked on quantum mechanics. He is famous for the Pauli exclusion principle, which states that two fermions cannot be in the same state at the same time.
At one point in his life, Pauli had a kind of nervous breakdown. His father had an affair. His mother found out and was so upset that she committed suicide. Pauli was naturally very upset by this. He started to go to cabaret shows, and ended up marrying a cabaret singer. After about a year they got divorced, and Pauli was even more upset! Someone suggested to him that he go for therapy. By coincidence (or synchronicity?) he was at the same uni as Carl Jung and they met.
Jung was fascinated by Pauli's dreams, because they were full of symbols from alchemy, even though Pauli had never studied this. Jung thought it would be fruitful for Pauli to be analysed, but was worried that he might superimpose or transfer his own ideas onto him, so he assigned a younger psychiatrist with the task. She analysed about 400 of Pauli's dreams and passed on the results to Jung.
If I am not mistaken, Jung published his analysis in Psychology and Alchemy, which can also be found in a book called simply Dreams, published by Routledge.
Jung and Pauli developed a close friendship, exchanged many letters, and talked about the similarities between psychology and quantum mechanics. For example, in quantum mechanics, there is the idea of non-locality, exemplified by the EPR paradox, in which two electrons become entangled and fly apart. Eventually, they get very far apart, and then a scientist measures one of them. It causes the other electron to collapse down to a definite state. There is a kind of "action at a distance".
This is similar to the Jungian notion of synchronicity, in which two events happens simultaneously, even though there is no cause and effect relationship.
Jung also liked the idea of pairs of complementary quantities, eg,
Position and momentum
Energy and time
Famously, in quantum mechanics, the observer affects the experiment. You cannot observe an atom, without collapsing its wave function. Something similar is true in psychotherapy. The therapists affects the patient. There is sometimes transference and counter-transference.