  Using an exactly solvable pure dephasing model, we show how entanglement
between qubits can be generated via the interaction with a common environment
and concurrent application of suitable control pulses. The control pulses are
able to effectively remove the detrimental effect of the environment while
preserving the indirect interaction between the qubits, thereby leading to the
generation of near-perfect entanglement. Furthermore, we also investigate the
entanglement dynamics if the qubits are directly interacting; this interaction
may even contain a noise term. The present of this additional noise leads to an
additional decoherence term. This decoherence term cannot be removed by
applying the pulses at the same time to both qubits. Rather, we show that by
introducing a time delay between the two pulse sequences, near-perfect
entanglement can still be generated via the interaction with the common
environment.
