logoalt Hacker News

jdw64 • yesterday at 7:02 AM • 4 replies • view on HN

This post is written in an easy-to-understand way. I enjoyed reading it.

But I’m curious:the permanent is the operation that changes the minus signs to plus signs, right? I’ve never really understood the concept of the permanent. I know how it’s calculated, but I don’t understand why it was introduced.


Replies

djierardi • yesterday at 2:54 PM

The simplest explanation would be that there are hard graph problems that can be reduced to computing the permanent of a matrix derived from the adjacency matrix of a graph, like counting the number of perfect matchings. And the permanent looks a lot like the determinant, which has easier algorithms.

sebzim4500 • yesterday at 10:15 AM

I think people mostly care about the permanent since even if you restrict to matrices with just 0s and 1s then it is #P-complete. I.e. if you give me a function in P that accepts/rejects a given string then if I have a fast way to compute the permanent I can count how many strings are accepted by your function. This is much stronger than being NP-complete.

➕ show 1 reply
spragl • yesterday at 8:20 AM

Its just a number you calculate from a matrix. Like the determinant or the trace.

I have never seen it mentioned outside the VP vs VNP area, but it is being used here and there.

I have no intuition for what the number tells you, but I didnt look it up or ask AI either.

bongofizzbuzz • yesterday at 7:29 AM

This is knowledge based question rather than someone's opinion, perfect for an AI to answer.

➕ show 3 replies