{"action":"created","issue":{"url":"https://api.github.com/repos/StationQ/Liquid/issues/32","repository_url":"https://api.github.com/repos/StationQ/Liquid","labels_url":"https://api.github.com/repos/StationQ/Liquid/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/StationQ/Liquid/issues/32/comments","events_url":"https://api.github.com/repos/StationQ/Liquid/issues/32/events","html_url":"https://github.com/StationQ/Liquid/issues/32","id":173705924,"number":32,"title":"Spin function","user":{"login":"Baitenov","id":20062605,"avatar_url":"https://avatars.githubusercontent.com/u/20062605?v=3","gravatar_id":"","url":"https://api.github.com/users/Baitenov","html_url":"https://github.com/Baitenov","followers_url":"https://api.github.com/users/Baitenov/followers","following_url":"https://api.github.com/users/Baitenov/following{/other_user}","gists_url":"https://api.github.com/users/Baitenov/gists{/gist_id}","starred_url":"https://api.github.com/users/Baitenov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Baitenov/subscriptions","organizations_url":"https://api.github.com/users/Baitenov/orgs","repos_url":"https://api.github.com/users/Baitenov/repos","events_url":"https://api.github.com/users/Baitenov/events{/privacy}","received_events_url":"https://api.github.com/users/Baitenov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-29T06:36:42Z","updated_at":"2016-09-07T16:51:00Z","closed_at":null,"body":"Hello, I am working on quantum ising model in Liquid and I found out that function that is used in ising model is stochastic. Is there a deterministic version of function that can be used?"},"comment":{"url":"https://api.github.com/repos/StationQ/Liquid/issues/comments/245345295","html_url":"https://github.com/StationQ/Liquid/issues/32#issuecomment-245345295","issue_url":"https://api.github.com/repos/StationQ/Liquid/issues/32","id":245345295,"user":{"login":"alan-geller","id":10674457,"avatar_url":"https://avatars.githubusercontent.com/u/10674457?v=3","gravatar_id":"","url":"https://api.github.com/users/alan-geller","html_url":"https://github.com/alan-geller","followers_url":"https://api.github.com/users/alan-geller/followers","following_url":"https://api.github.com/users/alan-geller/following{/other_user}","gists_url":"https://api.github.com/users/alan-geller/gists{/gist_id}","starred_url":"https://api.github.com/users/alan-geller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alan-geller/subscriptions","organizations_url":"https://api.github.com/users/alan-geller/orgs","repos_url":"https://api.github.com/users/alan-geller/repos","events_url":"https://api.github.com/users/alan-geller/events{/privacy}","received_events_url":"https://api.github.com/users/alan-geller/received_events","type":"User","site_admin":false},"created_at":"2016-09-07T16:51:00Z","updated_at":"2016-09-07T16:51:00Z","body":"@Baitenov -- when you perform a measurement, the result is (typically) non-deterministic. While running the same circuit on the same initial state will always result in the same state vector, you have to measure qubits to get the result of your computation. Because the state vector is the same after each run, the probabilities of the different measurement results are the same each time, but the measurement results are random each time. Typically, you perform many runs in order to sample the result space and estimate the probabilities (determined by the state vector) of the possible results.\r\n\r\nIt is certainly possible to create a quantum circuit that yields deterministic measurement results, which is to say a circuit that generates a final state vector that is totally supported on a single state. Measurements performed on a state vector like this involve no random randomness, but this is not the typical case. For one thing, a circuit that always generates such a state is no more powerful than a classical circuit.\r\n\r\nIn particular, the circuits generated for the Ising model do not lead to deterministic measurements."}}
{"actor":{"display_login":"alan-geller"}}