# Does the controlled Pauli Z gate cause entanglement?

I'm trying to understand the relationship between the factorability of a 2 qubit gate and that gate's ability to cause entanglement.

I've begun by considering the controlled Pauli Z gate. After playing around with the computational basis inputs and the Hadamard gate, it seems like the CZ gate cannot cause entanglement. But I'm not sure if this idea holds in general (i.e. is there some input that would become entangled if run through a CZ gate).

My intuition is that since the CZ matrix is diagonal it is not able to cause entanglement. Meanwhile the CX and CY are not diagonal and therefore can cause entanglement. But I am hoping to find a more formal definition/distinction or counterexample.

If anyone has any thoughts or references in this area, they would be greatly appreciated.

$$CZ|+\rangle|+\rangle = \frac{|0\rangle|+\rangle+|1\rangle|-\rangle}{\sqrt2}$$