{"action":"created","comment":{"url":"https://api.github.com/repos/JuliaQuantum/QuDynamics.jl/pulls/comments/33755965","id":33755965,"diff_hunk":"@@ -0,0 +1,45 @@\n+abstract QuExpo <: QuPropagatorMethod\n+\n+@doc \"\"\"\n+Exponential solver, using Epokit.expmv\n+Input Parameters :\n+`options` : Dictionary to set the size of Krylov subspace and tolerance by using\n+            keys as `:m` and `:tol`.\n+\n+Step Propagation using the exponential solver Expokit.expmv.\n+\"\"\" ->\n+immutable QuExpm_Expo <: QuExpo\n+    options::Dict{Symbol, Any}\n+end\n+\n+QuExpm_Expo() = QuExpm_Expo(Dict())\n+\n+@doc \"\"\"\n+Exponential solver, using ExpmV.expmv\n+Input Parameters :\n+`options` : Dictionary to set M, precision, shift, full_term by using\n+            keys as `:M`, `:precision`, `:shift`, `:full_term`\n+\n+Step Propagation using the exponential solver ExpmV.expmv.\n+\"\"\" ->\n+immutable QuExpm_ExpmV <: QuExpo\n+    options::Dict{Symbol, Any}\n+end\n+\n+QuExpm_ExpmV() = QuExpm_ExpmV(Dict())\n+\n+function propagate(prob::QuExpm_Expo, op, t, current_t, current_qustate)\n+    dt = t - current_t\n+    next_state = Expokit.expmv(dt, -im*coeffs(op), coeffs(current_qustate), m = get(prob.options, :m, 30), tol = get(prob.options, :tol, 1e-7))\n+    return QuArray(next_state)\n+end\n+\n+function propagate(prob::QuExpm_ExpmV, op, t, current_t, current_qustate)\n+    dt = t - current_t\n+    next_state = ExpmV.expmv(dt, -im*coeffs(op), coeffs(current_qustate), M = get(prob.options, :M, []), prec = get(prob.options, :prec, \"double\"),\n+                              shift = get(prob.options, :shift, false), full_term = get(prob.options, :full_term, false))\n+    return QuArray(next_state)\n+end\n+","path":"src/propexpmsolvers.jl","position":43,"original_position":43,"commit_id":"54a03fee913da606d476a836d4082d2b2c984754","original_commit_id":"54a03fee913da606d476a836d4082d2b2c984754","user":{"login":"amitjamadagni","id":1212282,"avatar_url":"https://avatars.githubusercontent.com/u/1212282?v=3","gravatar_id":"","url":"https://api.github.com/users/amitjamadagni","html_url":"https://github.com/amitjamadagni","followers_url":"https://api.github.com/users/amitjamadagni/followers","following_url":"https://api.github.com/users/amitjamadagni/following{/other_user}","gists_url":"https://api.github.com/users/amitjamadagni/gists{/gist_id}","starred_url":"https://api.github.com/users/amitjamadagni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amitjamadagni/subscriptions","organizations_url":"https://api.github.com/users/amitjamadagni/orgs","repos_url":"https://api.github.com/users/amitjamadagni/repos","events_url":"https://api.github.com/users/amitjamadagni/events{/privacy}","received_events_url":"https://api.github.com/users/amitjamadagni/received_events","type":"User","site_admin":false},"body":"Comment from #16 \r\nSame as above","created_at":"2015-07-02T08:20:27Z","updated_at":"2015-07-02T08:20:27Z","html_url":"https://github.com/JuliaQuantum/QuDynamics.jl/pull/13#discussion_r33755965","pull_request_url":"https://api.github.com/repos/JuliaQuantum/QuDynamics.jl/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/JuliaQuantum/QuDynamics.jl/pulls/comments/33755965"},"html":{"href":"https://github.com/JuliaQuantum/QuDynamics.jl/pull/13#discussion_r33755965"},"pull_request":{"href":"https://api.github.com/repos/JuliaQuantum/QuDynamics.jl/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/JuliaQuantum/QuDynamics.jl/pulls/13","id":37949722,"html_url":"https://github.com/JuliaQuantum/QuDynamics.jl/pull/13","diff_url":"https://github.com/JuliaQuantum/QuDynamics.jl/pull/13.diff","patch_url":"https://github.com/JuliaQuantum/QuDynamics.jl/pull/13.patch","issue_url":"https://api.github.com/repos/JuliaQuantum/QuDynamics.jl/issues/13","number":13,"state":"open","locked":false,"title":" Attempt at Expo solvers using ExpmV and Expokit.","user":{"login":"amitjamadagni","id":1212282,"avatar_url":"https://avatars.githubusercontent.com/u/1212282?v=3","gravatar_id":"","url":"https://api.github.com/users/amitjamadagni","html_url":"https://github.com/amitjamadagni","followers_url":"https://api.github.com/users/amitjamadagni/followers","following_url":"https://api.github.com/users/amitjamadagni/following{/other_user}","gists_url":"https://api.github.com/users/amitjamadagni/gists{/gist_id}","starred_url":"https://api.github.com/users/amitjamadagni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amitjamadagni/subscriptions","organizations_url":"https://api.github.com/users/amitjamadagni/orgs","repos_url":"https://api.github.com/users/amitjamadagni/repos","events_url":"https://api.github.com/users/amitjamadagni/events{/privacy}","received_events_url":"https://api.github.com/users/amitjamadagni/received_events","type":"User","site_admin":false},"body":"WIP : Benchmarks in progress at [Efficiency Analysis]\r\n(https://github.com/amitjamadagni/Notes-Notebooks/blob/master/Notebooks/Efficiency%20analysis%20for%20expo%20solvers.ipynb).\r\n\r\nPlan is to integrate one of the packages : ExpmV or Expokit.","created_at":"2015-06-17T21:36:15Z","updated_at":"2015-07-02T08:20:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"20c2222691660dbabfd824b9137bd62b24564856","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/JuliaQuantum/QuDynamics.jl/pulls/13/commits","review_comments_url":"https://api.github.com/repos/JuliaQuantum/QuDynamics.jl/pulls/13/comments","review_comment_url":"https://api.github.com/repos/JuliaQuantum/QuDynamics.jl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JuliaQuantum/QuDynamics.jl/issues/13/comments","statuses_url":"https://api.github.com/repos/JuliaQuantum/QuDynamics.jl/statuses/54a03fee913da606d476a836d4082d2b2c984754","head":{"label":"amitjamadagni:expo","ref":"expo","sha":"54a03fee913da606d476a836d4082d2b2c984754","user":{"login":"amitjamadagni","id":1212282,"avatar_url":"https://avatars.githubusercontent.com/u/1212282?v=3","gravatar_id":"","url":"https://api.github.com/users/amitjamadagni","html_url":"https://github.com/amitjamadagni","followers_url":"https://api.github.com/users/amitjamadagni/followers","following_url":"https://api.github.com/users/amitjamadagni/following{/other_user}","gists_url":"https://api.github.com/users/amitjamadagni/gists{/gist_id}","starred_url":"https://api.github.com/users/amitjamadagni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amitjamadagni/subscriptions","organizations_url":"https://api.github.com/users/amitjamadagni/orgs","repos_url":"https://api.github.com/users/amitjamadagni/repos","events_url":"https://api.github.com/users/amitjamadagni/events{/privacy}","received_events_url":"https://api.github.com/users/amitjamadagni/received_events","type":"User","site_admin":false},"repo":{"id":35759802,"name":"QuDynamics.jl","full_name":"amitjamadagni/QuDynamics.jl","owner":{"login":"amitjamadagni","id":1212282,"avatar_url":"https://avatars.githubusercontent.com/u/1212282?v=3","gravatar_id":"","url":"https://api.github.com/users/amitjamadagni","html_url":"https://github.com/amitjamadagni","followers_url":"https://api.github.com/users/amitjamadagni/followers","following_url":"https://api.github.com/users/amitjamadagni/following{/other_user}","gists_url":"https://api.github.com/users/amitjamadagni/gists{/gist_id}","starred_url":"https://api.github.com/users/amitjamadagni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amitjamadagni/subscriptions","organizations_url":"https://api.github.com/users/amitjamadagni/orgs","repos_url":"https://api.github.com/users/amitjamadagni/repos","events_url":"https://api.github.com/users/amitjamadagni/events{/privacy}","received_events_url":"https://api.github.com/users/amitjamadagni/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/amitjamadagni/QuDynamics.jl","description":"A JuliaQuantum package for solving dynamical equations in quantum mechanics.","fork":true,"url":"https://api.github.com/repos/amitjamadagni/QuDynamics.jl","forks_url":"https://api.github.com/repos/amitjamadagni/QuDynamics.jl/forks","keys_url":"https://api.github.com/repos/amitjamadagni/QuDynamics.jl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amitjamadagni/QuDynamics.jl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amitjamadagni/QuDynamics.jl/teams","hooks_url":"https://api.github.com/repos/amitjamadagni/QuDynamics.jl/hooks","issue_events_url":"https://api.github.com/repos/amitjamadagni/QuDynamics.jl/issues/events{/number}","events_url":"https://api.github.com/repos/amitjamadagni/QuDynamics.jl/events","assignees_url":"https://api.github.com/repos/amitjamadagni/QuDynamics.jl/assignees{/user}","branches_url":"https://api.github.com/repos/amitjamadagni/QuDynamics.jl/branches{/branch}","tags_url":"https://api.github.com/repos/amitjamadagni/QuDynamics.jl/tags","blobs_url":"https://api.github.com/repos/amitjamadagni/QuDynamics.jl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amitjamadagni/QuDynamics.jl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amitjamadagni/QuDynamics.jl/git/refs{/sha}","trees_url":"https://api.github.com/repos/amitjamadagni/QuDynamics.jl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amitjamadagni/QuDynamics.jl/statuses/{sha}","languages_url":"https://api.github.com/repos/amitjamadagni/QuDynamics.jl/languages","stargazers_url":"https://api.github.com/repos/amitjamadagni/QuDynamics.jl/stargazers","contributors_url":"https://api.github.com/repos/amitjamadagni/QuDynamics.jl/contributors","subscribers_url":"https://api.github.com/repos/amitjamadagni/QuDynamics.jl/subscribers","subscription_url":"https://api.github.com/repos/amitjamadagni/QuDynamics.jl/subscription","commits_url":"https://api.github.com/repos/amitjamadagni/QuDynamics.jl/commits{/sha}","git_commits_url":"https://api.github.com/repos/amitjamadagni/QuDynamics.jl/git/commits{/sha}","comments_url":"https://api.github.com/repos/amitjamadagni/QuDynamics.jl/comments{/number}","issue_comment_url":"https://api.github.com/repos/amitjamadagni/QuDynamics.jl/issues/comments{/number}","contents_url":"https://api.github.com/repos/amitjamadagni/QuDynamics.jl/contents/{+path}","compare_url":"https://api.github.com/repos/amitjamadagni/QuDynamics.jl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amitjamadagni/QuDynamics.jl/merges","archive_url":"https://api.github.com/repos/amitjamadagni/QuDynamics.jl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amitjamadagni/QuDynamics.jl/downloads","issues_url":"https://api.github.com/repos/amitjamadagni/QuDynamics.jl/issues{/number}","pulls_url":"https://api.github.com/repos/amitjamadagni/QuDynamics.jl/pulls{/number}","milestones_url":"https://api.github.com/repos/amitjamadagni/QuDynamics.jl/milestones{/number}","notifications_url":"https://api.github.com/repos/amitjamadagni/QuDynamics.jl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amitjamadagni/QuDynamics.jl/labels{/name}","releases_url":"https://api.github.com/repos/amitjamadagni/QuDynamics.jl/releases{/id}","created_at":"2015-05-17T09:16:42Z","updated_at":"2015-06-11T13:27:22Z","pushed_at":"2015-07-01T07:53:50Z","git_url":"git://github.com/amitjamadagni/QuDynamics.jl.git","ssh_url":"git@github.com:amitjamadagni/QuDynamics.jl.git","clone_url":"https://github.com/amitjamadagni/QuDynamics.jl.git","svn_url":"https://github.com/amitjamadagni/QuDynamics.jl","homepage":null,"size":210,"stargazers_count":0,"watchers_count":0,"language":"Julia","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"JuliaQuantum:master","ref":"master","sha":"308da204c1c023a26c65fd260d876ea0841f6df4","user":{"login":"JuliaQuantum","id":8118127,"avatar_url":"https://avatars.githubusercontent.com/u/8118127?v=3","gravatar_id":"","url":"https://api.github.com/users/JuliaQuantum","html_url":"https://github.com/JuliaQuantum","followers_url":"https://api.github.com/users/JuliaQuantum/followers","following_url":"https://api.github.com/users/JuliaQuantum/following{/other_user}","gists_url":"https://api.github.com/users/JuliaQuantum/gists{/gist_id}","starred_url":"https://api.github.com/users/JuliaQuantum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuliaQuantum/subscriptions","organizations_url":"https://api.github.com/users/JuliaQuantum/orgs","repos_url":"https://api.github.com/users/JuliaQuantum/repos","events_url":"https://api.github.com/users/JuliaQuantum/events{/privacy}","received_events_url":"https://api.github.com/users/JuliaQuantum/received_events","type":"Organization","site_admin":false},"repo":{"id":35568217,"name":"QuDynamics.jl","full_name":"JuliaQuantum/QuDynamics.jl","owner":{"login":"JuliaQuantum","id":8118127,"avatar_url":"https://avatars.githubusercontent.com/u/8118127?v=3","gravatar_id":"","url":"https://api.github.com/users/JuliaQuantum","html_url":"https://github.com/JuliaQuantum","followers_url":"https://api.github.com/users/JuliaQuantum/followers","following_url":"https://api.github.com/users/JuliaQuantum/following{/other_user}","gists_url":"https://api.github.com/users/JuliaQuantum/gists{/gist_id}","starred_url":"https://api.github.com/users/JuliaQuantum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuliaQuantum/subscriptions","organizations_url":"https://api.github.com/users/JuliaQuantum/orgs","repos_url":"https://api.github.com/users/JuliaQuantum/repos","events_url":"https://api.github.com/users/JuliaQuantum/events{/privacy}","received_events_url":"https://api.github.com/users/JuliaQuantum/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/JuliaQuantum/QuDynamics.jl","description":"A JuliaQuantum package for solving dynamical equations in quantum mechanics.","fork":false,"url":"https://api.github.com/repos/JuliaQuantum/QuDynamics.jl","forks_url":"https://api.github.com/repos/JuliaQuantum/QuDynamics.jl/forks","keys_url":"https://api.github.com/repos/JuliaQuantum/QuDynamics.jl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JuliaQuantum/QuDynamics.jl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JuliaQuantum/QuDynamics.jl/teams","hooks_url":"https://api.github.com/repos/JuliaQuantum/QuDynamics.jl/hooks","issue_events_url":"https://api.github.com/repos/JuliaQuantum/QuDynamics.jl/issues/events{/number}","events_url":"https://api.github.com/repos/JuliaQuantum/QuDynamics.jl/events","assignees_url":"https://api.github.com/repos/JuliaQuantum/QuDynamics.jl/assignees{/user}","branches_url":"https://api.github.com/repos/JuliaQuantum/QuDynamics.jl/branches{/branch}","tags_url":"https://api.github.com/repos/JuliaQuantum/QuDynamics.jl/tags","blobs_url":"https://api.github.com/repos/JuliaQuantum/QuDynamics.jl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JuliaQuantum/QuDynamics.jl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JuliaQuantum/QuDynamics.jl/git/refs{/sha}","trees_url":"https://api.github.com/repos/JuliaQuantum/QuDynamics.jl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JuliaQuantum/QuDynamics.jl/statuses/{sha}","languages_url":"https://api.github.com/repos/JuliaQuantum/QuDynamics.jl/languages","stargazers_url":"https://api.github.com/repos/JuliaQuantum/QuDynamics.jl/stargazers","contributors_url":"https://api.github.com/repos/JuliaQuantum/QuDynamics.jl/contributors","subscribers_url":"https://api.github.com/repos/JuliaQuantum/QuDynamics.jl/subscribers","subscription_url":"https://api.github.com/repos/JuliaQuantum/QuDynamics.jl/subscription","commits_url":"https://api.github.com/repos/JuliaQuantum/QuDynamics.jl/commits{/sha}","git_commits_url":"https://api.github.com/repos/JuliaQuantum/QuDynamics.jl/git/commits{/sha}","comments_url":"https://api.github.com/repos/JuliaQuantum/QuDynamics.jl/comments{/number}","issue_comment_url":"https://api.github.com/repos/JuliaQuantum/QuDynamics.jl/issues/comments{/number}","contents_url":"https://api.github.com/repos/JuliaQuantum/QuDynamics.jl/contents/{+path}","compare_url":"https://api.github.com/repos/JuliaQuantum/QuDynamics.jl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JuliaQuantum/QuDynamics.jl/merges","archive_url":"https://api.github.com/repos/JuliaQuantum/QuDynamics.jl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JuliaQuantum/QuDynamics.jl/downloads","issues_url":"https://api.github.com/repos/JuliaQuantum/QuDynamics.jl/issues{/number}","pulls_url":"https://api.github.com/repos/JuliaQuantum/QuDynamics.jl/pulls{/number}","milestones_url":"https://api.github.com/repos/JuliaQuantum/QuDynamics.jl/milestones{/number}","notifications_url":"https://api.github.com/repos/JuliaQuantum/QuDynamics.jl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JuliaQuantum/QuDynamics.jl/labels{/name}","releases_url":"https://api.github.com/repos/JuliaQuantum/QuDynamics.jl/releases{/id}","created_at":"2015-05-13T18:52:56Z","updated_at":"2015-06-12T06:49:47Z","pushed_at":"2015-07-01T07:53:50Z","git_url":"git://github.com/JuliaQuantum/QuDynamics.jl.git","ssh_url":"git@github.com:JuliaQuantum/QuDynamics.jl.git","clone_url":"https://github.com/JuliaQuantum/QuDynamics.jl.git","svn_url":"https://github.com/JuliaQuantum/QuDynamics.jl","homepage":null,"size":560,"stargazers_count":4,"watchers_count":4,"language":"Julia","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":7,"forks":3,"open_issues":7,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JuliaQuantum/QuDynamics.jl/pulls/13"},"html":{"href":"https://github.com/JuliaQuantum/QuDynamics.jl/pull/13"},"issue":{"href":"https://api.github.com/repos/JuliaQuantum/QuDynamics.jl/issues/13"},"comments":{"href":"https://api.github.com/repos/JuliaQuantum/QuDynamics.jl/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/JuliaQuantum/QuDynamics.jl/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/JuliaQuantum/QuDynamics.jl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JuliaQuantum/QuDynamics.jl/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/JuliaQuantum/QuDynamics.jl/statuses/54a03fee913da606d476a836d4082d2b2c984754"}}}}