If I understand correctly, both the discrete and continuous variable (CV) version of quantum computation are equivalent. However, the continuous aspect of the CV model makes me wonder to what extent can both models be compared. Given a discrete-gate quantum circuit, is it well understood how to translate it into a CV circuit?
I have seen the some algorithms (Shor, teleportation, dense coding, error correction) applied to both but I still do not get if there is 1-to-1 correspondence between the circuits. Is there a correspondence?
Examples:
What is the equivalent of entangling two qubits (a Bell state)? Is it two-mode squeezing?
Is it obvious how to translate boson sampling to discrete variables?