The virtual work done by a force on a mechanical system is the work that the force would do over a virtual displacement . Mathematically, it is the Scalar product between the two:
Just like virtual displacements, the emphasis on "would" is important because virtual never actually happens. It is purely theoretical.