We present mass spectrum and magnetic moments of the $$\bar{n}\bar{n}QQ$$
n
¯
n
¯
Q
Q
states, where $$n=u,d,s$$
n
=
u
,
d
,
s
and $$Q=c,b.$$
Q
=
c
,
b
.
We solve four-body Schrödinger equation with a quark potential model by using diffusion Monte Carlo (DMC) method. The quark potential is based on the Coulomb, confinement and spin–spin interaction terms. We find mass and magnetic moment of the $$T_{cc}^+$$
T
cc
+
state as $$M_{T_{cc}^+}=3892 ~\text {MeV}$$
M
T
cc
+
=
3892
MeV
and $$\mu =0.28 \mu _N,$$
μ
=
0.28
μ
N
,
respectively. We also find the mass and magnetic moment of $$T_{bb}^-$$
T
bb
-
as $$M_{T_{bb}^-}=10338 ~\text {MeV}$$
M
T
bb
-
=
10338
MeV
and $$\mu =-0.32 \mu _N,$$
μ
=
-
0.32
μ
N
,
respectively. We find some bound state candidates of doubly heavy tetraquark systems with $$I(J^P)=0(1)^+$$
I
(
J
P
)
=
0
(
1
)
+
$$nn {\bar{b}} {\bar{b}},$$
n
n
b
¯
b
¯
,
$$I(J^P)=0(0)^+$$
I
(
J
P
)
=
0
(
0
)
+
$$nn {\bar{c}} {\bar{b}},$$
n
n
c
¯
b
¯
,
$$I(J^P)=0(1)^+$$
I
(
J
P
)
=
0
(
1
)
+
$$nn {\bar{c}} \bar{b},$$
n
n
c
¯
b
¯
,
and $$I(J^P)=1/2(1)^+$$
I
(
J
P
)
=
1
/
2
(
1
)
+
$$ns {\bar{b}} {\bar{b}}.$$
n
s
b
¯
b
¯
.
We compare our results with other approaches in the literature.