{"action":"opened","issue":{"url":"https://api.github.com/repos/Qiskit/qiskit-terra/issues/776","repository_url":"https://api.github.com/repos/Qiskit/qiskit-terra","labels_url":"https://api.github.com/repos/Qiskit/qiskit-terra/issues/776/labels{/name}","comments_url":"https://api.github.com/repos/Qiskit/qiskit-terra/issues/776/comments","events_url":"https://api.github.com/repos/Qiskit/qiskit-terra/issues/776/events","html_url":"https://github.com/Qiskit/qiskit-terra/issues/776","id":349967735,"node_id":"MDU6SXNzdWUzNDk5Njc3MzU=","number":776,"title":"controlled-U gate optimization","user":{"login":"rraymondhp","id":15240898,"node_id":"MDQ6VXNlcjE1MjQwODk4","avatar_url":"https://avatars2.githubusercontent.com/u/15240898?v=4","gravatar_id":"","url":"https://api.github.com/users/rraymondhp","html_url":"https://github.com/rraymondhp","followers_url":"https://api.github.com/users/rraymondhp/followers","following_url":"https://api.github.com/users/rraymondhp/following{/other_user}","gists_url":"https://api.github.com/users/rraymondhp/gists{/gist_id}","starred_url":"https://api.github.com/users/rraymondhp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rraymondhp/subscriptions","organizations_url":"https://api.github.com/users/rraymondhp/orgs","repos_url":"https://api.github.com/users/rraymondhp/repos","events_url":"https://api.github.com/users/rraymondhp/events{/privacy}","received_events_url":"https://api.github.com/users/rraymondhp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-13T10:12:33Z","updated_at":"2018-08-13T10:12:33Z","closed_at":null,"author_association":"MEMBER","body":"<!-- ⚠️ If you do not respect this template, your issue will be closed -->\r\n<!-- ⚠️ Make sure to browse the opened and closed issues to confirm this idea does not exist. -->\r\n\r\n### What is the expected behavior?\r\nI wonder if we can have controlled-u gate optimization similar to the 1-qubit gate optimization with quaternion. If two consecutive controlled-U gates share control-target qubits, they can be combined into a single controlled-U gate with the same logic as the 1-qubit gate optimization with quaternion. \r\n\r\nThere is already a PR for 1-qubit gate optimization: \r\nhttps://github.com/Qiskit/qiskit-terra/pull/626\r\n\r\n"}}
{"actor":{"display_login":"rraymondhp"}}