{"action":"closed","number":149,"pull_request":{"url":"https://api.github.com/repos/ProjectQ-Framework/FermiLib/pulls/149","id":139413342,"html_url":"https://github.com/ProjectQ-Framework/FermiLib/pull/149","diff_url":"https://github.com/ProjectQ-Framework/FermiLib/pull/149.diff","patch_url":"https://github.com/ProjectQ-Framework/FermiLib/pull/149.patch","issue_url":"https://api.github.com/repos/ProjectQ-Framework/FermiLib/issues/149","number":149,"state":"closed","locked":false,"title":"Opt","user":{"login":"Spaceenter","id":4895865,"avatar_url":"https://avatars0.githubusercontent.com/u/4895865?v=4","gravatar_id":"","url":"https://api.github.com/users/Spaceenter","html_url":"https://github.com/Spaceenter","followers_url":"https://api.github.com/users/Spaceenter/followers","following_url":"https://api.github.com/users/Spaceenter/following{/other_user}","gists_url":"https://api.github.com/users/Spaceenter/gists{/gist_id}","starred_url":"https://api.github.com/users/Spaceenter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Spaceenter/subscriptions","organizations_url":"https://api.github.com/users/Spaceenter/orgs","repos_url":"https://api.github.com/users/Spaceenter/repos","events_url":"https://api.github.com/users/Spaceenter/events{/privacy}","received_events_url":"https://api.github.com/users/Spaceenter/received_events","type":"User","site_admin":false},"body":"Optimize a few functions in _sparse_tools.py.\r\n\r\nFor 2D (4x4), this improves the running time from 86s to 16s on my mac. For 3D, the improvement should be much more.","created_at":"2017-09-05T20:26:05Z","updated_at":"2017-09-07T17:16:18Z","closed_at":"2017-09-07T17:16:18Z","merged_at":"2017-09-07T17:16:18Z","merge_commit_sha":"5b5f0a4810d158869a1f1e212365e709ac30c3d0","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/ProjectQ-Framework/FermiLib/pulls/149/commits","review_comments_url":"https://api.github.com/repos/ProjectQ-Framework/FermiLib/pulls/149/comments","review_comment_url":"https://api.github.com/repos/ProjectQ-Framework/FermiLib/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ProjectQ-Framework/FermiLib/issues/149/comments","statuses_url":"https://api.github.com/repos/ProjectQ-Framework/FermiLib/statuses/3ab9aec1903bf093cde21408aa544b746b8f9145","head":{"label":"Spaceenter:opt","ref":"opt","sha":"3ab9aec1903bf093cde21408aa544b746b8f9145","user":{"login":"Spaceenter","id":4895865,"avatar_url":"https://avatars0.githubusercontent.com/u/4895865?v=4","gravatar_id":"","url":"https://api.github.com/users/Spaceenter","html_url":"https://github.com/Spaceenter","followers_url":"https://api.github.com/users/Spaceenter/followers","following_url":"https://api.github.com/users/Spaceenter/following{/other_user}","gists_url":"https://api.github.com/users/Spaceenter/gists{/gist_id}","starred_url":"https://api.github.com/users/Spaceenter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Spaceenter/subscriptions","organizations_url":"https://api.github.com/users/Spaceenter/orgs","repos_url":"https://api.github.com/users/Spaceenter/repos","events_url":"https://api.github.com/users/Spaceenter/events{/privacy}","received_events_url":"https://api.github.com/users/Spaceenter/received_events","type":"User","site_admin":false},"repo":{"id":90924319,"name":"FermiLib","full_name":"Spaceenter/FermiLib","owner":{"login":"Spaceenter","id":4895865,"avatar_url":"https://avatars0.githubusercontent.com/u/4895865?v=4","gravatar_id":"","url":"https://api.github.com/users/Spaceenter","html_url":"https://github.com/Spaceenter","followers_url":"https://api.github.com/users/Spaceenter/followers","following_url":"https://api.github.com/users/Spaceenter/following{/other_user}","gists_url":"https://api.github.com/users/Spaceenter/gists{/gist_id}","starred_url":"https://api.github.com/users/Spaceenter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Spaceenter/subscriptions","organizations_url":"https://api.github.com/users/Spaceenter/orgs","repos_url":"https://api.github.com/users/Spaceenter/repos","events_url":"https://api.github.com/users/Spaceenter/events{/privacy}","received_events_url":"https://api.github.com/users/Spaceenter/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Spaceenter/FermiLib","description":null,"fork":true,"url":"https://api.github.com/repos/Spaceenter/FermiLib","forks_url":"https://api.github.com/repos/Spaceenter/FermiLib/forks","keys_url":"https://api.github.com/repos/Spaceenter/FermiLib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Spaceenter/FermiLib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Spaceenter/FermiLib/teams","hooks_url":"https://api.github.com/repos/Spaceenter/FermiLib/hooks","issue_events_url":"https://api.github.com/repos/Spaceenter/FermiLib/issues/events{/number}","events_url":"https://api.github.com/repos/Spaceenter/FermiLib/events","assignees_url":"https://api.github.com/repos/Spaceenter/FermiLib/assignees{/user}","branches_url":"https://api.github.com/repos/Spaceenter/FermiLib/branches{/branch}","tags_url":"https://api.github.com/repos/Spaceenter/FermiLib/tags","blobs_url":"https://api.github.com/repos/Spaceenter/FermiLib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Spaceenter/FermiLib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Spaceenter/FermiLib/git/refs{/sha}","trees_url":"https://api.github.com/repos/Spaceenter/FermiLib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Spaceenter/FermiLib/statuses/{sha}","languages_url":"https://api.github.com/repos/Spaceenter/FermiLib/languages","stargazers_url":"https://api.github.com/repos/Spaceenter/FermiLib/stargazers","contributors_url":"https://api.github.com/repos/Spaceenter/FermiLib/contributors","subscribers_url":"https://api.github.com/repos/Spaceenter/FermiLib/subscribers","subscription_url":"https://api.github.com/repos/Spaceenter/FermiLib/subscription","commits_url":"https://api.github.com/repos/Spaceenter/FermiLib/commits{/sha}","git_commits_url":"https://api.github.com/repos/Spaceenter/FermiLib/git/commits{/sha}","comments_url":"https://api.github.com/repos/Spaceenter/FermiLib/comments{/number}","issue_comment_url":"https://api.github.com/repos/Spaceenter/FermiLib/issues/comments{/number}","contents_url":"https://api.github.com/repos/Spaceenter/FermiLib/contents/{+path}","compare_url":"https://api.github.com/repos/Spaceenter/FermiLib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Spaceenter/FermiLib/merges","archive_url":"https://api.github.com/repos/Spaceenter/FermiLib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Spaceenter/FermiLib/downloads","issues_url":"https://api.github.com/repos/Spaceenter/FermiLib/issues{/number}","pulls_url":"https://api.github.com/repos/Spaceenter/FermiLib/pulls{/number}","milestones_url":"https://api.github.com/repos/Spaceenter/FermiLib/milestones{/number}","notifications_url":"https://api.github.com/repos/Spaceenter/FermiLib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Spaceenter/FermiLib/labels{/name}","releases_url":"https://api.github.com/repos/Spaceenter/FermiLib/releases{/id}","deployments_url":"https://api.github.com/repos/Spaceenter/FermiLib/deployments","created_at":"2017-05-11T01:36:36Z","updated_at":"2017-05-11T01:36:37Z","pushed_at":"2017-09-06T17:05:08Z","git_url":"git://github.com/Spaceenter/FermiLib.git","ssh_url":"git@github.com:Spaceenter/FermiLib.git","clone_url":"https://github.com/Spaceenter/FermiLib.git","svn_url":"https://github.com/Spaceenter/FermiLib","homepage":null,"size":752,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"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":"ProjectQ-Framework:develop","ref":"develop","sha":"1ecb9232dab64b7ad8a0c6db3ecd9276b0d91fbd","user":{"login":"ProjectQ-Framework","id":23454099,"avatar_url":"https://avatars0.githubusercontent.com/u/23454099?v=4","gravatar_id":"","url":"https://api.github.com/users/ProjectQ-Framework","html_url":"https://github.com/ProjectQ-Framework","followers_url":"https://api.github.com/users/ProjectQ-Framework/followers","following_url":"https://api.github.com/users/ProjectQ-Framework/following{/other_user}","gists_url":"https://api.github.com/users/ProjectQ-Framework/gists{/gist_id}","starred_url":"https://api.github.com/users/ProjectQ-Framework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProjectQ-Framework/subscriptions","organizations_url":"https://api.github.com/users/ProjectQ-Framework/orgs","repos_url":"https://api.github.com/users/ProjectQ-Framework/repos","events_url":"https://api.github.com/users/ProjectQ-Framework/events{/privacy}","received_events_url":"https://api.github.com/users/ProjectQ-Framework/received_events","type":"Organization","site_admin":false},"repo":{"id":89900650,"name":"FermiLib","full_name":"ProjectQ-Framework/FermiLib","owner":{"login":"ProjectQ-Framework","id":23454099,"avatar_url":"https://avatars0.githubusercontent.com/u/23454099?v=4","gravatar_id":"","url":"https://api.github.com/users/ProjectQ-Framework","html_url":"https://github.com/ProjectQ-Framework","followers_url":"https://api.github.com/users/ProjectQ-Framework/followers","following_url":"https://api.github.com/users/ProjectQ-Framework/following{/other_user}","gists_url":"https://api.github.com/users/ProjectQ-Framework/gists{/gist_id}","starred_url":"https://api.github.com/users/ProjectQ-Framework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProjectQ-Framework/subscriptions","organizations_url":"https://api.github.com/users/ProjectQ-Framework/orgs","repos_url":"https://api.github.com/users/ProjectQ-Framework/repos","events_url":"https://api.github.com/users/ProjectQ-Framework/events{/privacy}","received_events_url":"https://api.github.com/users/ProjectQ-Framework/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ProjectQ-Framework/FermiLib","description":"FermiLib: Open source software for analyzing fermionic quantum simulation algorithms","fork":false,"url":"https://api.github.com/repos/ProjectQ-Framework/FermiLib","forks_url":"https://api.github.com/repos/ProjectQ-Framework/FermiLib/forks","keys_url":"https://api.github.com/repos/ProjectQ-Framework/FermiLib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ProjectQ-Framework/FermiLib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ProjectQ-Framework/FermiLib/teams","hooks_url":"https://api.github.com/repos/ProjectQ-Framework/FermiLib/hooks","issue_events_url":"https://api.github.com/repos/ProjectQ-Framework/FermiLib/issues/events{/number}","events_url":"https://api.github.com/repos/ProjectQ-Framework/FermiLib/events","assignees_url":"https://api.github.com/repos/ProjectQ-Framework/FermiLib/assignees{/user}","branches_url":"https://api.github.com/repos/ProjectQ-Framework/FermiLib/branches{/branch}","tags_url":"https://api.github.com/repos/ProjectQ-Framework/FermiLib/tags","blobs_url":"https://api.github.com/repos/ProjectQ-Framework/FermiLib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ProjectQ-Framework/FermiLib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ProjectQ-Framework/FermiLib/git/refs{/sha}","trees_url":"https://api.github.com/repos/ProjectQ-Framework/FermiLib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ProjectQ-Framework/FermiLib/statuses/{sha}","languages_url":"https://api.github.com/repos/ProjectQ-Framework/FermiLib/languages","stargazers_url":"https://api.github.com/repos/ProjectQ-Framework/FermiLib/stargazers","contributors_url":"https://api.github.com/repos/ProjectQ-Framework/FermiLib/contributors","subscribers_url":"https://api.github.com/repos/ProjectQ-Framework/FermiLib/subscribers","subscription_url":"https://api.github.com/repos/ProjectQ-Framework/FermiLib/subscription","commits_url":"https://api.github.com/repos/ProjectQ-Framework/FermiLib/commits{/sha}","git_commits_url":"https://api.github.com/repos/ProjectQ-Framework/FermiLib/git/commits{/sha}","comments_url":"https://api.github.com/repos/ProjectQ-Framework/FermiLib/comments{/number}","issue_comment_url":"https://api.github.com/repos/ProjectQ-Framework/FermiLib/issues/comments{/number}","contents_url":"https://api.github.com/repos/ProjectQ-Framework/FermiLib/contents/{+path}","compare_url":"https://api.github.com/repos/ProjectQ-Framework/FermiLib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ProjectQ-Framework/FermiLib/merges","archive_url":"https://api.github.com/repos/ProjectQ-Framework/FermiLib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ProjectQ-Framework/FermiLib/downloads","issues_url":"https://api.github.com/repos/ProjectQ-Framework/FermiLib/issues{/number}","pulls_url":"https://api.github.com/repos/ProjectQ-Framework/FermiLib/pulls{/number}","milestones_url":"https://api.github.com/repos/ProjectQ-Framework/FermiLib/milestones{/number}","notifications_url":"https://api.github.com/repos/ProjectQ-Framework/FermiLib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ProjectQ-Framework/FermiLib/labels{/name}","releases_url":"https://api.github.com/repos/ProjectQ-Framework/FermiLib/releases{/id}","deployments_url":"https://api.github.com/repos/ProjectQ-Framework/FermiLib/deployments","created_at":"2017-05-01T05:46:51Z","updated_at":"2017-08-28T21:20:09Z","pushed_at":"2017-09-07T17:16:18Z","git_url":"git://github.com/ProjectQ-Framework/FermiLib.git","ssh_url":"git@github.com:ProjectQ-Framework/FermiLib.git","clone_url":"https://github.com/ProjectQ-Framework/FermiLib.git","svn_url":"https://github.com/ProjectQ-Framework/FermiLib","homepage":"https://projectq.ch/","size":745,"stargazers_count":16,"watchers_count":16,"language":"Python","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":4,"forks":12,"open_issues":4,"watchers":16,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/ProjectQ-Framework/FermiLib/pulls/149"},"html":{"href":"https://github.com/ProjectQ-Framework/FermiLib/pull/149"},"issue":{"href":"https://api.github.com/repos/ProjectQ-Framework/FermiLib/issues/149"},"comments":{"href":"https://api.github.com/repos/ProjectQ-Framework/FermiLib/issues/149/comments"},"review_comments":{"href":"https://api.github.com/repos/ProjectQ-Framework/FermiLib/pulls/149/comments"},"review_comment":{"href":"https://api.github.com/repos/ProjectQ-Framework/FermiLib/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ProjectQ-Framework/FermiLib/pulls/149/commits"},"statuses":{"href":"https://api.github.com/repos/ProjectQ-Framework/FermiLib/statuses/3ab9aec1903bf093cde21408aa544b746b8f9145"}},"author_association":"COLLABORATOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"babbush","id":14242687,"avatar_url":"https://avatars2.githubusercontent.com/u/14242687?v=4","gravatar_id":"","url":"https://api.github.com/users/babbush","html_url":"https://github.com/babbush","followers_url":"https://api.github.com/users/babbush/followers","following_url":"https://api.github.com/users/babbush/following{/other_user}","gists_url":"https://api.github.com/users/babbush/gists{/gist_id}","starred_url":"https://api.github.com/users/babbush/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/babbush/subscriptions","organizations_url":"https://api.github.com/users/babbush/orgs","repos_url":"https://api.github.com/users/babbush/repos","events_url":"https://api.github.com/users/babbush/events{/privacy}","received_events_url":"https://api.github.com/users/babbush/received_events","type":"User","site_admin":false},"comments":6,"review_comments":0,"maintainer_can_modify":false,"commits":21,"additions":53,"deletions":26,"changed_files":1}}
{"actor":{"display_login":"babbush"}}