# Quantum Teleportation — coherent deferred-measurement demonstration of |+> transfer
# Joint quantum gates are used; this does not demonstrate separated-party communication.
from marqov import Circuit

circuit = (
    Circuit()
    .h(0)           # Prepare |+>
    .h(1).cnot(1, 2)  # Bell pair
    .cnot(0, 1).h(0)  # Bell-basis transform (measurements deferred)
    .cnot(1, 2).cz(0, 2)  # Coherent corrections; not classical feedforward
)
