A Method to Calculate Correlation for Density Functional Theory on a Quantum Processor