The four-lepton ($4\ell$, $\ell = e, \mu$) production cross section is measured in the mass range from 80 to 1000 GeV using 20.3 fb$^{-1}$ of data in $pp$ collisions at $\sqrt{s}=8$ TeV collected with the ATLAS detector at the LHC. The $4\ell$ events are produced in the decays of resonant $Z$ and Higgs bosons and the non-resonant $ZZ$ continuum originating from $q\bar q$, $gg$, and $qg$ initial states. A total of 476 signal candidate events are observed with a background expectation of $26.2 \pm 3.6$ events, enabling the measurement of the integrated cross section and the differential cross section as a function of the invariant mass and transverse momentum of the four-lepton system. In the mass range above $180$ GeV, assuming the theoretical constraint on the $q\bar q$ production cross section calculated with perturbative NNLO QCD and NLO electroweak corrections, the signal strength of the gluon-fusion component relative to its leading-order prediction is determined to be $\mu_{gg}=2.4 \pm 1.0 (stat.) \pm 0.5 (syst.)\pm 0.8 (theory)$.
A measurement of the $ZZ$ production in the $\ell^{-}\ell^{+}\ell^{\prime -}\ell^{\prime +}$ and $\ell^{-}\ell^{+}\nu\bar{\nu}$ channels $(\ell = e, \mu)$ in proton--proton collisions at $\sqrt{s} = 8$ TeV at the Large Hadron Collider at CERN, using data corresponding to an integrated luminosity of 20.3 fb$^{-1}$ collected by the ATLAS experiment in 2012 is presented. The fiducial cross sections for $ZZ\to\ell^{-}\ell^{+}\ell^{\prime -}\ell^{\prime +}$ and $ZZ\to \ell^{-}\ell^{+}\nu\bar{\nu}$ are measured in selected phase-space regions. The total cross section for $ZZ$ events produced with both $Z$ bosons in the mass range 66 to 116 GeV is measured from the combination of the two channels to be $7.3\pm0.4\textrm{(stat)}\pm0.3\textrm{(syst)}\pm0.2\textrm{(lumi)}$ pb, which is consistent with the Standard Model prediction of $6.6^{+0.7}_{-0.6}$ pb. The differential cross sections in bins of various kinematic variables are presented. The differential event yield as a function of the transverse momentum of the leading $Z$ boson is used to set limits on anomalous neutral triple gauge boson couplings in $ZZ$ production.