{"action":"created","issue":{"url":"https://api.github.com/repos/dwavesystems/dimod/issues/277","repository_url":"https://api.github.com/repos/dwavesystems/dimod","labels_url":"https://api.github.com/repos/dwavesystems/dimod/issues/277/labels{/name}","comments_url":"https://api.github.com/repos/dwavesystems/dimod/issues/277/comments","events_url":"https://api.github.com/repos/dwavesystems/dimod/issues/277/events","html_url":"https://github.com/dwavesystems/dimod/issues/277","id":359607804,"node_id":"MDU6SXNzdWUzNTk2MDc4MDQ=","number":277,"title":"Dimod response is showing auxiliary variables and looks broken","user":{"login":"JoelPasvolsky","id":34041130,"node_id":"MDQ6VXNlcjM0MDQxMTMw","avatar_url":"https://avatars2.githubusercontent.com/u/34041130?v=4","gravatar_id":"","url":"https://api.github.com/users/JoelPasvolsky","html_url":"https://github.com/JoelPasvolsky","followers_url":"https://api.github.com/users/JoelPasvolsky/followers","following_url":"https://api.github.com/users/JoelPasvolsky/following{/other_user}","gists_url":"https://api.github.com/users/JoelPasvolsky/gists{/gist_id}","starred_url":"https://api.github.com/users/JoelPasvolsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoelPasvolsky/subscriptions","organizations_url":"https://api.github.com/users/JoelPasvolsky/orgs","repos_url":"https://api.github.com/users/JoelPasvolsky/repos","events_url":"https://api.github.com/users/JoelPasvolsky/events{/privacy}","received_events_url":"https://api.github.com/users/JoelPasvolsky/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-12T18:51:53Z","updated_at":"2018-09-12T18:54:28Z","closed_at":"2018-09-12T18:54:28Z","author_association":"CONTRIBUTOR","body":"**Description**\r\nUsing EmbeddingComposite I get back samples for what look like auxiliary variables\r\n\r\n**Steps To Reproduce**\r\n```\r\n>>> from dwave.system.samplers import DWaveSampler\r\n>>> from dwave.system.composites import EmbeddingComposite\r\n>>> linear = {'x0': -1, 'x1': -1, 'x2': -1}\r\n>>> quadratic = {('x0', 'x1'): 2, ('x0', 'x2'): 2, ('x1', 'x2'): 2}\r\n>>> Q = dict(linear)\r\n>>> Q.update(quadratic)\r\n>>> response = EmbeddingComposite(DWaveSampler()).sample_qubo(Q, num_reads=1000)\r\n>>>for sample, energy, num_occurrences in response.data():\r\n   ...     print(sample, \"Energy: \", energy, \"Occurrences: \", num_occurrences)\r\n{'x': 1, '0': 1, '1': 1, '2': 1, 'x0': 0, 'x1': 1, 'x2': 0} Energy:  -3.0 Occurrences:  113\r\n{'x': 1, '0': 1, '1': 1, '2': 1, 'x0': 0, 'x1': 0, 'x2': 0} Energy:  -3.0 Occurrences:  177\r\n{'x': 1, '0': 1, '1': 1, '2': 1, 'x0': 1, 'x1': 0, 'x2': 0} Energy:  -3.0 Occurrences:  482\r\n{'x': 1, '0': 1, '1': 1, '2': 1, 'x0': 0, 'x1': 0, 'x2': 1} Energy:  -3.0 Occurrences:  228\r\n```\r\n\r\n**Expected Behavior**\r\nNo auxiliary variables\r\n\r\n**Environment**\r\n - OS: both Ubuntu and Windows\r\n - Python version: 3.x\r\n\r\n**Additional Context**\r\nAlso, the solution (the samples for the problem variables) looks wrong -- low energy for invalid solutions \r\n"},"comment":{"url":"https://api.github.com/repos/dwavesystems/dimod/issues/comments/420759194","html_url":"https://github.com/dwavesystems/dimod/issues/277#issuecomment-420759194","issue_url":"https://api.github.com/repos/dwavesystems/dimod/issues/277","id":420759194,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDc1OTE5NA==","user":{"login":"arcondello","id":8395238,"node_id":"MDQ6VXNlcjgzOTUyMzg=","avatar_url":"https://avatars0.githubusercontent.com/u/8395238?v=4","gravatar_id":"","url":"https://api.github.com/users/arcondello","html_url":"https://github.com/arcondello","followers_url":"https://api.github.com/users/arcondello/followers","following_url":"https://api.github.com/users/arcondello/following{/other_user}","gists_url":"https://api.github.com/users/arcondello/gists{/gist_id}","starred_url":"https://api.github.com/users/arcondello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arcondello/subscriptions","organizations_url":"https://api.github.com/users/arcondello/orgs","repos_url":"https://api.github.com/users/arcondello/repos","events_url":"https://api.github.com/users/arcondello/events{/privacy}","received_events_url":"https://api.github.com/users/arcondello/received_events","type":"User","site_admin":false},"created_at":"2018-09-12T18:54:28Z","updated_at":"2018-09-12T18:54:28Z","author_association":"MEMBER","body":"This should be on `dwave-system`"}}
{"actor":{"display_login":"arcondello"}}