algorithmfactorizationquantum-computing

Factoring a quantum state


I'm looking for algorithms that take an arbitrary quantum state made up of a sum of weighted classical states made up of bits, like this:

|0000>/2 - |0011>/2 + |0100>/2 - |0111>/2

and factor it into a more compact form using tensor products, like this:

|0> x (|0> + |1>) x (|00> - |11>) / 2

I want to use the algorithm as a way of visualizing/simplifying the state of a (simulated) quantum circuit.

For individual qubits I know I can just pair all the states with the state where the bit is flipped and check that every pair has the same x:y relation between the states. In the example above, flipping the second bit always gives you a state with a 1:1 weighting, so the second bit factors out as (1|0> + 1|1>).

But extending that approach to detect entangled bits (like the third and fourth in the example) causes it to take at least Ω(n^c) time (probably more, I haven't thought it all the way through), where n is the number of states and c is the number of entangled bits. Since n is already growing exponentially with the number of bits that's... not ideal.

Are there better algorithms? Representations easier to factor from/to? How useful is changing the basis? Links to papers would be great.


Solution

  • It looks like an efficient algorithm is going to be hard:

    From wikipedia:

    The problem of deciding whether a state is separable in general is sometimes called the separability problem in quantum information theory. It is considered to be a difficult problem. It has been shown to be NP-hard.

    Gurvits, L., Classical deterministic complexity of Edmonds’ problem and quantum entanglement, in Proceedings of the 35th ACM Symposium on Theory of Computing, ACM Press, New York, 2003.

    Sevag Gharibian, Strong NP-Hardness of the Quantum Separability Problem, Quantum Information and Computation, Vol. 10, No. 3&4, pp. 343-360, 2010. arXiv:0810.4507