def METHOD_NAME(self, wires, c_dtype):
    """Test different complex dtype."""
    dev = qml.device("default.qubit.legacy", wires=2, c_dtype=c_dtype)
    @qml.qnode(dev, diff_method=None)
    def circuit(x):
        qml.IsingXX(x, wires=[0, 1])
        return qml.state()
    density_matrix = qml.qinfo.reduced_dm(circuit, wires=wires)(0.5)
    assert density_matrix.dtype == c_dtype