A quarry cannot be run directly off of Industrial craft's energy units (EU). It runs off of buildcraft's MinecraftJouls (MJ). you can produce MJ from EU with an
electric/tin engine which initially produces very little power but can be upgraded with a
circuit board and various electron tubes.
Or you can set up a all MJ power system using a variety of engines (look at the bottom of the linked page for the full set)
Or Or you can build some Redstone flux power systems. RF can be converted to MJ by using a conduit (all of this is from Thermal expansion)
Quarries accept a maximum of 48 MJ/t last time I checked. so for option 1 you would need 24 basic or 3 fully upgraded electrical engines.