A method and system are disclosed for improving a policy for a stochastic control problem, the stochastic control problem being characterized by a set of actions, a set of states, a reward structure as a function of states and actions, and a plurality of decision epochs, the method comprising using a sampling device obtaining data representative of sample configurations of a Boltzmann machine, obtaining initialization data and an initial policy for the stochastic control problem; assigning data representative of an initial weight and a bias of respectively each coupler and each node and the transverse field strength of the Boltzmann machine to the sampling device; until a stopping criterion is met generating a present-epoch state-action pair, amending data representative of none or at least one coupler and at least one bias, performing a sampling corresponding to the present-epoch state-action pair to obtain first sampling empirical means, obtaining an approximation of a value of a Q-function at the present-epoch state-action, obtaining a future-epoch state-action pair, wherein the state is obtained through a stochastic state process, and further wherein the obtaining of the action comprises performing a stochastic optimization test on the plurality of all state-action pairs comprising the future-epoch state and any possible action to thereby provide the action at the future-epoch and update the policy for the future-epoch state; amending data representative of none or at least one coupler and at least one bias, performing a sampling corresponding to the future-epoch state-action pair, obtaining an approximation of a value of the Q-function at the future-epoch state-action, updating each weight and each bias and providing the policy when the stopping criterion is met.
Please help me write a proper abstract based on the patent claims. CLAIM: 1. A method for improving a policy for a stochastic control problem, the stochastic control problem being characterized by a set of actions, a set of states, a reward structure as a function of states and actions, and a plurality of decision epochs, wherein evolution of an underlying stochastic state process depends on a plurality of actions in a policy, the method comprising: using a sampling device coupled to a digital computer and to a sampling device control system, the sampling device obtaining data representative of sample configurations of a Boltzmann machine comprising: a plurality of nodes, a plurality of couplers, a plurality of biases, each bias corresponding to a node in the plurality of nodes, a plurality of coupling weights, each coupling weight corresponding to a coupler of the plurality of couplers, and a transverse field strength; obtaining, using the digital computer, initialization data comprising the set of actions, the set of states, the reward structure of the stochastic control problem and an initial policy for the stochastic control problem, the policy comprising a choice of at least one action for each state; using the digital computer and the sampling device control system, assigning data representative of an initial weight and a bias of respectively each coupler and each node and the transverse field strength of the Boltzmann machine to the sampling device; until a stopping criterion is met: generating a present-epoch state-action pair using the digital computer, using the digital computer and the sampling device control system, amending data representative of none or at least one coupler and at least one bias using the generated present-epoch state-action pair, performing a sampling corresponding to the present-epoch state-action pair to obtain first sampling empirical means, obtaining, using the first sampling empirical means, using the digital computer, an approximation of a value of a Q-function at the present-epoch state-action, the value of the Q-function being representative of a utility of the present-epoch state-action pair, obtaining, using the digital computer, a future-epoch state-action pair, wherein the state is obtained through a stochastic state process, and further wherein the obtaining of the action comprises performing a stochastic optimization test on the plurality of all state-action pairs comprising the future-epoch state and any possible action to thereby provide the action at the future-epoch and update the policy for the future-epoch state, amending, using the digital computer and the sampling device control system, data representative of none or at least one coupler and at least one bias using the generated future-epoch state-action pair, performing a sampling corresponding to the future-epoch state-action pair to obtain second sampling empirical means, obtaining, using the second sampling empirical means, using the digital computer, an approximation of a value of the Q-function at the future-epoch state-action, the value of the Q-function being representative of a utility of the future-epoch state-action pair, and using the digital computer, updating each weight and each bias of respectively each coupler and each node of the Boltzmann machine using the generated approximations of the value of the Q-function and the first sampling empirical means at present-epoch state-action pair and a corresponding reward at the present-epoch state-action pair obtained using the reward structure; and providing the policy using the digital computer when the stopping criterion is met. 2. The method as claimed in claim 1, wherein the sampling device comprises a quantum processor and wherein the sampling device control system comprises a quantum device control system; further wherein the quantum processor is coupled to the digital computer and to the quantum device control system, further wherein the quantum processor comprises a plurality of qubits and a plurality of couplers, each coupler for providing a communicative coupling at a crossing of two qubits. 3. The method as claimed in claim 2, wherein the obtaining of the approximation of the value of the Q-function both at the present-epoch and at the future-epoch comprises obtaining from the sampling device a plurality of samples of configurations of the Boltzmann machine along a measurement axis and calculating using the digital computer an empirical approximation of a free energy of the Boltzmann machine. 4. The method as claimed in claim 2, wherein the obtaining of the approximation of the value of the Q-function both at the present-epoch and at the future-epoch comprises obtaining from the sampling device a plurality of sample configurations of the Boltzmann machine along a measurement axis, constructing from the obtained sample configurations a plurality of samples of the configurations of an effective Hamiltonian representative of the quantum Boltzmann machine and using the digital computer calculating an empirical approximation of a free energy of the quantum Boltzmann machine. 5. The method as claimed in claim 2, wherein the calculating of both the first and the second empirical means corresponding to the nodes, comprises obtaining from the sampling device a plurality of samples of configurations of one of the quantum and the classical Boltzmann machine along a measurement axis and using the digital computer for calculating an approximation of the empirical means of the nodes. 6. The method as claimed in claim 1, wherein the sampling device comprises an optical device configured to receive energy from an optical energy source and generate a plurality of optical parametric oscillators, and a plurality of coupling devices, each of which controllably couples an optical parametric oscillator of the plurality of optical parametric oscillators. 7. The method as claimed in claim 6, wherein the obtaining of the approximation of the value of the Q-function both at the present-epoch and at the future-epoch comprises obtaining from the sampling device a plurality of samples of configurations of the Boltzmann machine along a measurement axis and calculating using the digital computer an empirical approximation of a free energy of the Boltzmann machine. 8. The method as claimed in claim 6, wherein the calculating of both the first and the second empirical means corresponding to the nodes, comprises obtaining from the sampling device a plurality of samples of configurations of one of the quantum and the classical Boltzmann machine along a measurement axis and using the digital computer for calculating an approximation of the empirical means of the nodes. 9. The method as claimed in claim 1, wherein the sampling device comprises a central processing unit and a memory unit coupled to the central processing unit and implementing the Boltzmann machine, wherein the Boltzmann machine implemented is a classical Boltzmann machine characterized by a zero value transverse field strength; further wherein the memory unit comprises an application for obtaining data representative of each weight and each bias of respectively each coupler and each node of the classical Boltzmann machine, further wherein the application is adapted for performing a simulated quantum annealing of the classical Boltzmann machine. 10. The method as claimed in claim 9, wherein the obtaining of the approximation of the value of the Q-function both at the present-epoch and at the future-epoch comprises obtaining from the sampling device a plurality of samples of configurations of the Boltzmann machine along a measurement axis and calculating using the digital computer an empirical approximation of a free energy of the Boltzmann machine. 11. The method as claimed in claim 9, wherein the calculating of both the first and the second empirical means corresponding to the nodes, comprises obtaining from the sampling device a plurality of samples of configurations of one of the quantum and the classical Boltzmann machine along a measurement axis and using the digital computer for calculating an approximation of the empirical means of the nodes. 12. The method as claimed in claim 1, wherein the sampling device comprises a central processing unit and a memory unit coupled to the central processing unit and implementing the Boltzmann machine, wherein the Boltzmann machine implemented is a quantum Boltzmann machine characterized by a non-zero value transverse field strength; further wherein the memory unit comprises an application for obtaining data representative of each weight and each bias of respectively each coupler and each node of the quantum Boltzmann machine; further wherein the application is adapted for performing a simulated quantum annealing of the quantum Boltzmann machine. 13. The method as claimed in claim 12, wherein the obtaining of the approximation of the value of the Q-function both at the present-epoch and at the future-epoch comprises obtaining from the sampling device a plurality of samples of configurations of the Boltzmann machine along a measurement axis and calculating using the digital computer an empirical approximation of a free energy of the Boltzmann machine. 14. The method as claimed in claim 12, wherein the obtaining of the approximation of the value of the Q-function both at the present-epoch and at the future-epoch comprises obtaining from the sampling device a plurality of sample configurations of the Boltzmann machine along a measurement axis, constructing from the obtained sample configurations a plurality of samples of the configurations of an effective Hamiltonian representative of the quantum Boltzmann machine and using the digital computer calculating an empirical approximation of a free energy of the quantum Boltzmann machine. 15. The method as claimed in claim 12, wherein the calculating of both the first and the second empirical means corresponding to the nodes, comprises obtaining from the sampling device a plurality of samples of configurations of one of the quantum and the classical Boltzmann machine along a measurement axis and using the digital computer for calculating an approximation of the empirical means of the nodes. 16. The method as claimed in claim 12, wherein the performing of the simulated quantum annealing of the quantum Boltzmann machine provides a plurality of sample configurations of an effective Hamiltonian representative of the quantum Boltzmann machine. 17. The method as claimed in claim 16, wherein the obtaining of an approximation of the value of the Q-function both at the present-epoch and at the future-epoch comprises obtaining from the sampling device the plurality of sample of the configurations of the effective Hamiltonian representative of the quantum Boltzmann machine and using the digital computer calculating an empirical approximation of a free energy of the quantum Boltzmann machine. 18. The method as claimed in claim 16, wherein the calculating of both the first and the second empirical means corresponding to the nodes, comprises obtaining from the sampling device the plurality of sample of configurations of the effective Hamiltonian of the Boltzmann machine and using the digital computer for calculating an approximation of the empirical means of the nodes. 19. The method as claimed in claim 1, wherein the sampling device comprises a central processing unit and a memory unit coupled to the central processing unit and implementing the Boltzmann machine, wherein the Boltzmann machine implemented is a classical Boltzmann machine characterized by a zero value transverse field strength; further wherein the memory unit comprises an application for obtaining data representative of each weight and each bias of respectively each coupler and each node of the classical Boltzmann machine, further wherein the application is adapted for sampling a plurality of instances of a Fortuin-Kasteleyn random cluster representation corresponding to the classical Boltzmann machine to thereby provide an approximation of a number of clusters in the Fortuin-Kasteleyn random cluster representation. 20. The method as claimed in claim 1, wherein the sampling device comprises a central processing unit and a memory unit coupled to the central processing unit and implementing the Boltzmann machine, wherein the Boltzmann machine implemented is a quantum Boltzmann machine characterized by a non-zero value transverse field strength; further wherein the memory unit comprises an application for obtaining data representative of each weight and each bias of respectively each coupler and each node of the quantum Boltzmann machine; further wherein the application is adapted for sampling a plurality of instances of a Fortuin-Kasteleyn random cluster representation corresponding to the quantum Boltzmann machine to thereby provide an approximation of a number of clusters in the Fortuin-Kasteleyn random cluster representation. 21. The method as claimed in claim 20, wherein the obtaining of an approximation of the value of the Q-function both at the present-epoch and at the future-epoch comprises obtaining from the sampling device the approximation of the number of clusters in the Fortuin-Kasteleyn random cluster representation corresponding to the quantum Boltzmann machine, and using the digital computer for calculating an empirical approximation of a free energy of the quantum Boltzmann machine. 22. The method as claimed in claim 1, wherein the performing of the stochastic optimization test on the plurality of all state-action pairs comprises: using the digital computer and the sampling device control system, amending data representative of none or at least one coupler and at least one bias using each state-action pair corresponding to the future-epoch state, performing a sampling corresponding to each state-action pair corresponding to the future-epoch state to provide empirical means, obtaining, using the digital computer, an approximation of a value of the Q-function at each state-action pair corresponding to the future-epoch state, using all approximated Q-function values corresponding to each state-action pair corresponding to the future-epoch state, using the digital computer, sample from corresponding distribution to update the policy for the future epoch state. 23. The method as claimed in claim 1, wherein the performing of the stochastic optimization test on the plurality of all state-action pairs comprises: obtaining a temperature parameter; obtaining the future-epoch state; sampling a Boltzmann distribution associated with the approximation of the value of the Q-function with a state variable fixed at the future-epoch state and the provided temperature. 24. The method as claimed in claim 2, wherein the plurality of qubits of the quantum processor comprises: a first group of qubits; a second group of qubits; and wherein the plurality of couplers of the quantum processor comprises: at least one coupler, each of the at least one couplers for providing a communicative coupling at a crossing between a qubit of the first group of qubits and at least one qubit of the second group of qubits, and a plurality of couplers, each of the plurality of couplers for providing a communicative coupling at a crossing between a qubit in the second group of qubits and other qubit in the second group of qubits. 25. The method as claimed in claim 24, wherein the first group of qubits represents the set of actions of the stochastic control problem. 26. The method as claimed in claim 24, wherein the amending of data representative of none or at least one coupler and the at least one bias using the generated present-epoch state-action pair, comprises: switching all couplers providing a communicative coupling at a crossing between a qubit of the first group of qubits and the second group of qubits OFF, and amending at least one bias in the second group of qubits using the generated present-epoch state-action pair. 27. The method as claimed in claim 24, wherein the amending of data representative of none or at least one coupler and the at least one bias using the generated future-epoch state-action pair comprises: switching all couplers providing a communicative coupling at a crossing between a qubit of the first group of qubits and the second group of qubits OFF, and amending at least one bias in the second group of qubits using the generated future-epoch state-action pair. 28. The method as claimed in claim 24, wherein the performing of the stochastic optimization test on the plurality of all state-action pairs comprising the future-epoch state and any possible action comprises: switching all couplers providing a communicative coupling at a crossing between a qubit of the first group of qubits and the qubits of the second group of qubits ON; amending at least one bias in the second group of qubits using the future-epoch state corresponding to the future-epoch state-action pair; performing a quantum sampling to obtain empirical means corresponding to the first group of qubits; and updating, using the digital computer, the policy for the future-epoch state by assigning to the future-epoch state an action according to a distribution of the obtained empirical means corresponding to the first group of qubits. 29. The method as claimed in claim 1, wherein the stopping criterion comprises reaching a maximum number of training steps. 30. The method as claimed in claim 1, wherein the stopping criterion comprises reaching a maximum runtime. 31. The method as claimed in claim 1, wherein the stopping criterion comprises convergences of a function of the weights and biases of the couplings and local fields. 32. The method as claimed in claim 1, wherein the stopping criterion comprises convergence of the policy to a fixed policy. 33. The method as claimed in claim 1, wherein the providing of the policy comprises at least one of displaying the policy to a user interacting with the digital computer; storing the policy in the digital computer and transmitting the policy to another processing unit operatively connected to the digital computer. 34. The method as claimed in claim 1, wherein the digital computer comprises a memory unit; further wherein the initialization data is obtained from the memory unit of the digital computer. 35. The method as claimed in claim 1, wherein the initialization data is obtained from one of a user interacting with the digital computer and a remote processing unit operatively connected with the digital computer. 36. A digital computer comprising: a central processing unit; a display device; a communication port for operatively connecting the digital computer to a sampling device coupled to a digital computer and to a sampling device control system; a memory unit comprising an application for improving a policy for a stochastic control problem, the stochastic control problem being characterized by a set of actions, a set of states, a reward structure as a function of states and actions, and a plurality of decision epochs, wherein evolution of an underlying stochastic state process depends on a plurality of actions in a policy, the application comprising: instructions for using a sampling device coupled to the digital computer and to a sampling device control system, the sampling device obtaining data representative of sample configurations of a Boltzmann machine comprising a plurality of nodes, a plurality of couplers, a plurality of biases, each bias corresponding to a node in the plurality of nodes, a plurality of coupling weights, each coupling weight corresponding to a coupler of the plurality of couplers, and a transverse field strength; instructions for obtaining, using the digital computer, initialization data comprising the set of actions, the set of states, the reward structure of the stochastic control problem and an initial policy for the stochastic control problem, the policy comprising a choice of at least one action for each state; instructions for using the digital computer and the sampling device control system, assigning data representative of an initial weight and a bias of respectively each coupler and each node and the transverse field strength of the Boltzmann machine to the sampling device; instructions for, until a stopping criterion is met: generating a present-epoch state-action pair using the digital computer, using the digital computer and the sampling device control system, amending data representative of none or at least one coupler and at least one bias using the generated present-epoch state-action pair, performing a sampling corresponding to the present-epoch state-action pair to obtain first sampling empirical means, obtaining, using the first sampling empirical means, using the digital computer, an approximation of a value of a Q-function at the present-epoch state-action, the value of the Q-function being representative of a utility of the present-epoch state-action pair, obtaining, using the digital computer, a future-epoch state-action pair, wherein the state is obtained through a stochastic state process, and further wherein the obtaining of the action comprises performing a stochastic optimization test on the plurality of all state-action pairs comprising the future-epoch state and any possible action to thereby provide the action at the future-epoch and update the policy for the future-epoch state, amending, using the digital computer and the sampling device control system, data representative of none or at least one coupler and at least one bias using the generated future-epoch state-action pair, performing a sampling corresponding to the future-epoch state-action pair to obtain second sampling empirical means, obtaining, using the second sampling empirical means, using the digital computer, an approximation of a value of the Q-function at the future-epoch state-action, the value of the Q-function being representative of a utility of the future-epoch state-action pair, and using the digital computer, updating each weight and each bias of respectively each coupler and each node of the Boltzmann machine using the generated approximations of the value of the Q-function and the first sampling empirical means at present-epoch state-action pair and a corresponding reward at the present-epoch state-action pair obtained using the reward structure; and instructions for providing the policy using the digital computer when the stopping criterion is met. 37. A non-transitory computer readable storage medium for storing computer-executable instructions which, when executed, cause a digital computer to perform a method for improving a policy for a stochastic control problem, the stochastic control problem being characterized by a set of actions, a set of states, a reward structure as a function of states and actions, and a plurality of decision epochs, wherein evolution of an underlying stochastic state process depends on a plurality of actions in a policy, the method comprising: using a sampling device coupled to a digital computer and to a sampling device control system, the sampling device obtaining data representative of sample configurations of a Boltzmann machine comprising: a plurality of nodes, a plurality of couplers, a plurality of biases, each bias corresponding to a node in the plurality of nodes, a plurality of coupling weights, each coupling weight corresponding to a coupler of the plurality of couplers, and a transverse field strength; obtaining, using the digital computer, initialization data comprising the set of actions, the set of states, the reward structure of the stochastic control problem and an initial policy for the stochastic control problem, the policy comprising a choice of at least one action for each state; using the digital computer and the sampling device control system, assigning data representative of an initial weight and a bias of respectively each coupler and each node and the transverse field strength of the Boltzmann machine to the sampling device; until a stopping criterion is met: generating a present-epoch state-action pair using the digital computer, using the digital computer and the sampling device control system, amending data representative of none or at least one coupler and at least one bias using the generated present-epoch state-action pair, performing a sampling corresponding to the present-epoch state-action pair to obtain first sampling empirical means, obtaining, using the first sampling empirical means, using the digital computer, an approximation of a value of a Q-function at the present-epoch state-action, the value of the Q-function being representative of a utility of the present-epoch state-action pair, obtaining, using the digital computer, a future-epoch state-action pair, wherein the state is obtained through a stochastic state process, and further wherein the obtaining of the action comprises performing a stochastic optimization test on the plurality of all state-action pairs comprising the future-epoch state and any possible action to thereby provide the action at the future-epoch and update the policy for the future-epoch state, amending, using the digital computer and the sampling device control system, data representative of none or at least one coupler and at least one bias using the generated future-epoch state-action pair, performing a sampling corresponding to the future-epoch state-action pair to obtain second sampling empirical means, obtaining, using the second sampling empirical means, using the digital computer, an approximation of a value of the Q-function at the future-epoch state-action, the value of the Q-function being representative of a utility of the future-epoch state-action pair, using the digital computer, updating each weight and each bias of respectively each coupler and each node of the Boltzmann machine using the generated approximations of the value of the Q-function and the first sampling empirical means at present-epoch state-action pair and a corresponding reward at the present-epoch state-action pair obtained using the reward structure; and providing the policy using the digital computer when the stopping criterion is met.