On the eve of the New Hampshire primary, Sen. Bernie Sanders pulled ahead of Joe Biden in a new Quinnipiac national poll — which also showed Mike Bloomberg leapfrog into third and score the largest lead of any Democrat in a head-to-head matchup with President Trump.

Sanders got 25 percent of the vote among Democratic voters and independents who lean Democratic, while the former veep got 17 percent and Bloomberg got 15 percent — up from 8 percent in a Q poll on Jan. 28.

Sen. Elizabeth Warren came in fourth at 14 percent, former South Bend Mayor Pete Buttigieg got 10 percent and Sen. Amy Klobuchar earned 4 percent.

No other candidate topped 2 percent in the survey of 1,519 registered voters, which was conducted from Feb. 5 to 9 and had a margin of error of plus or minus 2.5 percentage points.

“Biden scrambles to bounce back in frigid New Hampshire after an icy slide to 17 percent, his lowest national number,” said Quinnipiac analyst Tim Malloy.

“Is the Bloomberg camp prepping the white horse for him to ride to the rescue? Maybe not yet, but without setting foot in Iowa or New Hampshire, he is suddenly a looming shadow over the primary field.”

In the Jan. 28 poll, prior to the Iowa caucuses, Biden had a modest lead with 26 percent of the vote while Sanders got 21 percent, Warren had 15 percent, Bloomberg received 8 percent, Klobuchar got 7 percent, and Buttigieg received 6 percent.

Among all registered voters, Democratic candidates led Trump in general election matchups by between four and nine points, with Bloomberg claiming the biggest numerical lead against Trump, 51 percent to 42 percent.

The poll suggested that Biden would beat Trump by 50 to 43 percent, Klobuchar would win 49 percent to 43 percent, and Warren would be ahead 48 percent to 44 percent. Buttigieg was also slightly ahead of Trump at 47 percent to 43 percent.

Trump’s favorability rating remained underwater, with 42 percent of registered voters having a favorable opinion of the president while 55 percent had an unfavorable view, the pollsters said. But that is his best favorability rating since a March 7, 2017, poll, when his favorability rating was a negative 43 – 53 percent.. He had 43 percent favorable, 52 percent unfavorable in the Jan. 28 poll.

But less than a week after Trump was acquitted in the Senate impeachment trial and delivered his State of the Union address, his job approval continues to match its highest levels, with 43 percent of voters saying they approve of the job the president is doing and 53 percent saying they disapprove — and that could be good news for the commander-in-chief, Malloy said.

“Fresh from acquittal by the Senate, feistily throwing haymakers in every direction, the president presumably has a strong economy to ride all the way to Election Day. The Democrats are facing a reinvigorated and formidable Trump,” Malloy asserted.

Bloomberg is not on the ballot in New Hampshire, but the former Gotham mayor has spent hundreds of millions of his own money on ads attacking Trump.