{"action":"created","issue":{"url":"https://api.github.com/repos/Qiskit/qiskit-terra/issues/854","repository_url":"https://api.github.com/repos/Qiskit/qiskit-terra","labels_url":"https://api.github.com/repos/Qiskit/qiskit-terra/issues/854/labels{/name}","comments_url":"https://api.github.com/repos/Qiskit/qiskit-terra/issues/854/comments","events_url":"https://api.github.com/repos/Qiskit/qiskit-terra/issues/854/events","html_url":"https://github.com/Qiskit/qiskit-terra/issues/854","id":356552954,"node_id":"MDU6SXNzdWUzNTY1NTI5NTQ=","number":854,"title":"Modify the qobj schema to: rigorously specify standard gates, but also allow non-standard gates to pass.","user":{"login":"delapuente","id":757942,"node_id":"MDQ6VXNlcjc1Nzk0Mg==","avatar_url":"https://avatars1.githubusercontent.com/u/757942?v=4","gravatar_id":"","url":"https://api.github.com/users/delapuente","html_url":"https://github.com/delapuente","followers_url":"https://api.github.com/users/delapuente/followers","following_url":"https://api.github.com/users/delapuente/following{/other_user}","gists_url":"https://api.github.com/users/delapuente/gists{/gist_id}","starred_url":"https://api.github.com/users/delapuente/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/delapuente/subscriptions","organizations_url":"https://api.github.com/users/delapuente/orgs","repos_url":"https://api.github.com/users/delapuente/repos","events_url":"https://api.github.com/users/delapuente/events{/privacy}","received_events_url":"https://api.github.com/users/delapuente/received_events","type":"User","site_admin":false},"labels":[{"id":552526583,"node_id":"MDU6TGFiZWw1NTI1MjY1ODM=","url":"https://api.github.com/repos/Qiskit/qiskit-terra/labels/type:%20enhancement","name":"type: enhancement","color":"84b6eb","default":false}],"state":"open","locked":false,"assignee":{"login":"dcmckayibm","id":32201347,"node_id":"MDQ6VXNlcjMyMjAxMzQ3","avatar_url":"https://avatars1.githubusercontent.com/u/32201347?v=4","gravatar_id":"","url":"https://api.github.com/users/dcmckayibm","html_url":"https://github.com/dcmckayibm","followers_url":"https://api.github.com/users/dcmckayibm/followers","following_url":"https://api.github.com/users/dcmckayibm/following{/other_user}","gists_url":"https://api.github.com/users/dcmckayibm/gists{/gist_id}","starred_url":"https://api.github.com/users/dcmckayibm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcmckayibm/subscriptions","organizations_url":"https://api.github.com/users/dcmckayibm/orgs","repos_url":"https://api.github.com/users/dcmckayibm/repos","events_url":"https://api.github.com/users/dcmckayibm/events{/privacy}","received_events_url":"https://api.github.com/users/dcmckayibm/received_events","type":"User","site_admin":false},"assignees":[{"login":"dcmckayibm","id":32201347,"node_id":"MDQ6VXNlcjMyMjAxMzQ3","avatar_url":"https://avatars1.githubusercontent.com/u/32201347?v=4","gravatar_id":"","url":"https://api.github.com/users/dcmckayibm","html_url":"https://github.com/dcmckayibm","followers_url":"https://api.github.com/users/dcmckayibm/followers","following_url":"https://api.github.com/users/dcmckayibm/following{/other_user}","gists_url":"https://api.github.com/users/dcmckayibm/gists{/gist_id}","starred_url":"https://api.github.com/users/dcmckayibm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcmckayibm/subscriptions","organizations_url":"https://api.github.com/users/dcmckayibm/orgs","repos_url":"https://api.github.com/users/dcmckayibm/repos","events_url":"https://api.github.com/users/dcmckayibm/events{/privacy}","received_events_url":"https://api.github.com/users/dcmckayibm/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2018-09-03T15:56:44Z","updated_at":"2018-09-07T13:10:51Z","closed_at":null,"author_association":"COLLABORATOR","body":"### What is the expected enhancement?\r\nBackends can support extensions to the instruction set. For instance, simulators offer `noise`, `snapshot`, `wait`, `save` and `load` instructions. These should not live inside the base `Qobj` schema. The base schema should allow these to pass, and it will be the responsibility of a backend to allow or prevent them from passing the backend-specific schema.\r\n\r\nThe schema validation mechanism then becomes a simple 2-step process. Validate against base qobj, validate against backend qobj."},"comment":{"url":"https://api.github.com/repos/Qiskit/qiskit-terra/issues/comments/419434356","html_url":"https://github.com/Qiskit/qiskit-terra/issues/854#issuecomment-419434356","issue_url":"https://api.github.com/repos/Qiskit/qiskit-terra/issues/854","id":419434356,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTQzNDM1Ng==","user":{"login":"taalexander","id":1553846,"node_id":"MDQ6VXNlcjE1NTM4NDY=","avatar_url":"https://avatars2.githubusercontent.com/u/1553846?v=4","gravatar_id":"","url":"https://api.github.com/users/taalexander","html_url":"https://github.com/taalexander","followers_url":"https://api.github.com/users/taalexander/followers","following_url":"https://api.github.com/users/taalexander/following{/other_user}","gists_url":"https://api.github.com/users/taalexander/gists{/gist_id}","starred_url":"https://api.github.com/users/taalexander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taalexander/subscriptions","organizations_url":"https://api.github.com/users/taalexander/orgs","repos_url":"https://api.github.com/users/taalexander/repos","events_url":"https://api.github.com/users/taalexander/events{/privacy}","received_events_url":"https://api.github.com/users/taalexander/received_events","type":"User","site_admin":false},"created_at":"2018-09-07T13:10:51Z","updated_at":"2018-09-07T13:10:51Z","author_association":"CONTRIBUTOR","body":"So if I understand correctly you wish to:\r\n1. Breakout the hardcoded list of accepted QASM instructions. \r\n2. Create a standard QASM instruction schema based on `qelib1.inc`. \r\n3. Allow the user to specify their own instruction schema. \r\n\r\nQuestions I have are:\r\n1. Do we wish to validate against the union of 2 and 3? Or does 3 supersede 2?\r\n2. Do we wish to allow the same behaviour for OpenPulse commands? \r\n\r\nRather than two separate validation steps for 1/(2&3), it should be possible to dynamically append to the initial JSON schema a `uri` reference to the schemas of 2 and 3. "}}
{"actor":{"display_login":"taalexander"}}