Blender Driver Quaternions to Unreal 5.5.4 Quaternions

I’ve got two bones set up in blender so when one rotates on the X axis in Quaternion mode it will rotate the other one on the Y axis. I’m trying to set up a control rig to do this same thing, but the Unreal Engine Quaternions seem to be different. How do I set it up so it will do the same thing in Control Rig in Unreal?