  We here put forward a new path-integral over Hilbert space and show that it
reproduces quantum mechanics exactly. This approach works by optimizing the
generating functional under a variation of the final state; it is hence an
example of a future-input dependent theory. The benefit of this method is that
entangled states appear in the paths directly, and the generating functional
can be modified to also include wave-function collapse.
