They are related.
In field theory the coordinate x is no longer the canonical variable, but simply an index. So the canonical conjugate variables in QED are
[tex]A_\mu(x),\;\Pi^\mu(x) = \frac{\delta S}{\delta (\partial_0 A_\mu(x))}[/tex]
In the Weyl gauge you directly find the electric field for the i-component and you find Zero for A° as there is no time derivative of A° b/c the field strength tensor is by definition antisymmetric and has vanishing diagonal elements.
Now the relation between canonical variables is defined in terms of Poisson brackets in the classical Hamiltonian formulation:
[tex]q,\;p=\frac{\partial L}{\partial (\partial_0 q}[/tex]
and
[tex]\left\{q, p\right\} = 1[/tex]
The Poisson bracket for arbitrary functions on phase space depending on p and q is defined as
[tex]\left\{f(q,p), g(q,p)\right\} = \frac{\partial f(q,p)}{\partial q}\frac{\partial g(q,p)}{\partial p} - \frac{\partial g(q,p)}{\partial q}\frac{\partial f(q,p)}{\partial p}[/tex]
Using f=q and g=p you immediatey find the relation {q,p}=1.
Quantizing this system means replacing q,p with the corresponding operators acting on a Hilbert space, replacing the Poisson bracket with the commutator and inserting an "i". Strictly speaking this step cannot be derived but has to be postulated and justified afterwards (justification is simply: QM is self-consistent and described nature rather well :-)
Once you have a pair of canonical variables you try to find new variables and expressions between them. In field theory one often uses creation and annihilaton operators which are related to the simply operators for the harmonic oscillator. The construction uses a Fourier decomposition of the basic field operators for which the canonical commutations are already known.
The new commutation relations for the new operators can be derived exactly. Let's make a simple example.
Assume we have
[tex]\phi(x),\;\pi(y)[/tex]
and
[tex][\phi(x),\;\pi(y)] = i\delta(x-y)[/tex]
Now we define
[tex]f(k) = \int dx\,\e^{-ikx}\phi(x)[/tex]
[tex]g(k) = \int dx\,\e^{ikx}\pi(x)[/tex]
Now we can calculate the commutation relations for these new operators f and g rather easily
[tex]\left[f(k), g(k^\prime)\right] = \int dx\,e^{-ikx} \int dy\,e^{ik^\prime y}\left[ \phi(x), \pi(y)\right] = \int dx\,dy\,e^{-i(kx - k^\prime y)}\delta(x-y) = \int dx\,e^{-i(k -k^\prime)x} = 2\pi\delta(k - k^\prime)[/tex]
Therefore we have derived the commutation relation for f and g. In the same sense one derives the commutation relations for creation and annihilation operators which requires a little more care - but we are nearly there.