{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":557996466,"defaultBranch":"main","name":"qe-qasm","ownerLogin":"openqasm","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2022-10-26T17:43:20.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/90057959?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1711562999.0","currentOid":""},"activityList":{"items":[{"before":"ec7731bf645240a597cd9ebb2c395b114f155ed2","after":"654ea08129b51950c000972d97f536d19558c7d8","ref":"refs/heads/main","pushedAt":"2024-07-29T12:05:54.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"taalexander","name":"Thomas Alexander","path":"/taalexander","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1553846?s=80&v=4"},"commit":{"message":"fix(parser): reset stream position for direct string input, close #35 (#39)\n\nHi Team,\r\n\r\nThe root cause of https://github.com/openqasm/qe-qasm/issues/35 is as\r\nfollows\r\n\r\n\r\nhttps://github.com/openqasm/qe-qasm/blob/main/lib/Parser/QasmParser.y#L338-L342\r\n\r\nHere `IIS` and `ISS` points to the same buffer, as `std::getline` moves\r\nthe pointer to the next line, we got the wrong line number when directly\r\nparsing string.\r\n\r\nThus we just need to reset the position of `IIS` to make\r\n`QASM::QasmPreprocessor::Instance().Preprocess(IIS)` work as expected\r\n\r\n\r\nI did not find any test codes in this repo to directly test\r\n`QasmParser.y`. I'm willing to add some tests and wish to know the\r\nproper way to do so.\r\n\r\nThanks,\r\nYilun","shortMessageHtmlLink":"fix(parser): reset stream position for direct string input, close #35 ("}},{"before":"710d73c3f99ffce7e76d5f6dbafccccfde80c15b","after":"ec7731bf645240a597cd9ebb2c395b114f155ed2","ref":"refs/heads/main","pushedAt":"2024-06-12T14:59:39.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"taalexander","name":"Thomas Alexander","path":"/taalexander","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1553846?s=80&v=4"},"commit":{"message":"Fix array access implicit conversion and add error diagnostics for out-of-bounds array accesses (#38)\n\nThis PR fixes an issue with using arrays as inputs to gates and provides\r\nan accompanying test. It also adds an error diagnostic to check for\r\nout-of-bounds array accesses.","shortMessageHtmlLink":"Fix array access implicit conversion and add error diagnostics for ou…"}},{"before":"f6d695fd9f18462e65f6290d05ccb4ccb371b288","after":"710d73c3f99ffce7e76d5f6dbafccccfde80c15b","ref":"refs/heads/main","pushedAt":"2024-06-12T14:42:58.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"bcdonovan","name":"Brian Donovan","path":"/bcdonovan","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1385694?s=80&v=4"},"commit":{"message":"Add ASTOpTypeBitNot to mangler (#36)\n\nThis PR adds the test-bitnot.qasm to tests/CMakeLists.txt so that the\r\ntest will be run.\r\n\r\nOnce run the test failed due to a segfault in ASTMangler.cpp. \r\n\r\nThe `ASTOpTypeBitNot` was added to the mangler which fixed the test.","shortMessageHtmlLink":"Add ASTOpTypeBitNot to mangler (#36)"}},{"before":null,"after":"f6d695fd9f18462e65f6290d05ccb4ccb371b288","ref":"refs/heads/release/0.3.2","pushedAt":"2024-03-27T18:07:00.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"SooluThomas","name":"Soolu Thomas","path":"/SooluThomas","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/11485594?s=80&v=4"},"commit":{"message":"Change assert and instead raise diagnostics error (#34)\n\nAssertions cause EOFFailure in the compiler and this PR fixes one such\r\nassert.","shortMessageHtmlLink":"Change assert and instead raise diagnostics error (#34)"}},{"before":"183db931f30edfb7b61c9628b4e244344162a039","after":null,"ref":"refs/heads/soo-remove-assert","pushedAt":"2024-03-26T18:27:24.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"SooluThomas","name":"Soolu Thomas","path":"/SooluThomas","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/11485594?s=80&v=4"}},{"before":"a9cf9fa3599b2045941d154dc91aba5a45beabb7","after":"f6d695fd9f18462e65f6290d05ccb4ccb371b288","ref":"refs/heads/main","pushedAt":"2024-03-26T18:27:20.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"SooluThomas","name":"Soolu Thomas","path":"/SooluThomas","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/11485594?s=80&v=4"},"commit":{"message":"Change assert and instead raise diagnostics error (#34)\n\nAssertions cause EOFFailure in the compiler and this PR fixes one such\r\nassert.","shortMessageHtmlLink":"Change assert and instead raise diagnostics error (#34)"}},{"before":"3a1c35975ab7e3293a452dea5a3c8223688666ac","after":"183db931f30edfb7b61c9628b4e244344162a039","ref":"refs/heads/soo-remove-assert","pushedAt":"2024-03-26T18:08:51.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"SooluThomas","name":"Soolu Thomas","path":"/SooluThomas","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/11485594?s=80&v=4"},"commit":{"message":"Minor fix in the diagnostic message","shortMessageHtmlLink":"Minor fix in the diagnostic message"}},{"before":"b519bab22e8976af89fe934295fefc586a0813fa","after":"3a1c35975ab7e3293a452dea5a3c8223688666ac","ref":"refs/heads/soo-remove-assert","pushedAt":"2024-03-26T17:19:55.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"SooluThomas","name":"Soolu Thomas","path":"/SooluThomas","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/11485594?s=80&v=4"},"commit":{"message":"Update diagnostic message","shortMessageHtmlLink":"Update diagnostic message"}},{"before":"a91ee0e72ac6fbd22818ca2650f990c017759e75","after":"b519bab22e8976af89fe934295fefc586a0813fa","ref":"refs/heads/soo-remove-assert","pushedAt":"2024-03-26T16:33:09.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"SooluThomas","name":"Soolu Thomas","path":"/SooluThomas","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/11485594?s=80&v=4"},"commit":{"message":"Fix formatting","shortMessageHtmlLink":"Fix formatting"}},{"before":null,"after":"a91ee0e72ac6fbd22818ca2650f990c017759e75","ref":"refs/heads/soo-remove-assert","pushedAt":"2024-03-26T16:23:38.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"SooluThomas","name":"Soolu Thomas","path":"/SooluThomas","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/11485594?s=80&v=4"},"commit":{"message":"change Inconsistent number of Params assert to raise diag error","shortMessageHtmlLink":"change Inconsistent number of Params assert to raise diag error"}},{"before":"2a7cb619d28fc45b9b91460468f42f47e905573b","after":"a9cf9fa3599b2045941d154dc91aba5a45beabb7","ref":"refs/heads/main","pushedAt":"2024-03-26T11:23:28.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"mbhealy","name":null,"path":"/mbhealy","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/22239338?s=80&v=4"},"commit":{"message":"Fix debug build on OSX (#33)\n\nCloses #32. Fixes iteration of tokens on OSX.","shortMessageHtmlLink":"Fix debug build on OSX (#33)"}},{"before":"d42bca2c2b7a8e2543462cceea178240709b6fa2","after":"2a7cb619d28fc45b9b91460468f42f47e905573b","ref":"refs/heads/main","pushedAt":"2024-03-25T12:40:08.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"taalexander","name":"Thomas Alexander","path":"/taalexander","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1553846?s=80&v=4"},"commit":{"message":"Remove Ok message (#31)\n\nRemove Ok. message","shortMessageHtmlLink":"Remove Ok message (#31)"}},{"before":null,"after":"27e23cf9817839418fb3c0100fa0e9eac71ff033","ref":"refs/heads/taa-remove-ok","pushedAt":"2024-03-22T21:20:21.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"taalexander","name":"Thomas Alexander","path":"/taalexander","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1553846?s=80&v=4"},"commit":{"message":"Update QasmDriver.cpp\n\nRemove Ok. message","shortMessageHtmlLink":"Update QasmDriver.cpp"}},{"before":"0dd5e4216bb3d475ac2c6337d466f6e8cdf22942","after":"d42bca2c2b7a8e2543462cceea178240709b6fa2","ref":"refs/heads/main","pushedAt":"2024-03-22T19:27:30.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"mbhealy","name":null,"path":"/mbhealy","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/22239338?s=80&v=4"},"commit":{"message":"Remove default warning on switch statement. (#30)\n\nQiskit does not generate the default, nor is it required by the OQ3\r\nspec. This warning has been polluting our error diagnostics for users.","shortMessageHtmlLink":"Remove default warning on switch statement. (#30)"}},{"before":"3f5dbaf6f706a0d85d0349eea07c1b1365ea061a","after":"0dd5e4216bb3d475ac2c6337d466f6e8cdf22942","ref":"refs/heads/main","pushedAt":"2024-03-20T14:26:06.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"mbhealy","name":null,"path":"/mbhealy","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/22239338?s=80&v=4"},"commit":{"message":"fix: missing bitnot rule in UnaryOp (#29)\n\nFix https://github.com/openqasm/qe-qasm/issues/28, the root cause is the\r\n[UnaryOp\r\n](https://github.com/openqasm/qe-qasm/blob/main/lib/Parser/QasmParser.y#L4280)\r\ncannot recognize \"~\"\r\n\r\nTested following qasm\r\n\r\n```\r\nOPENQASM 3.0;\r\n\r\nqubit $0;\r\n\r\ngate x q {}\r\n\r\nbit[4] qc0_c0;\r\n\r\nif ((qc0_c0[0] & qc0_c0[1] | qc0_c0[0] & qc0_c0[2] | qc0_c0[1] & qc0_c0[2]) & ~(qc0_c0[0] & qc0_c0[1] & qc0_c0[2])) {\r\n x $0;\r\n}\r\nqc0_c0[3] = measure $0;\r\n```","shortMessageHtmlLink":"fix: missing bitnot rule in UnaryOp (#29)"}},{"before":"a75b8b7c7ce8f173aaa18d35404d57fa72fcf0c3","after":"3f5dbaf6f706a0d85d0349eea07c1b1365ea061a","ref":"refs/heads/main","pushedAt":"2024-01-12T17:34:52.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"taalexander","name":"Thomas Alexander","path":"/taalexander","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1553846?s=80&v=4"},"commit":{"message":"Add codeowners (#27)","shortMessageHtmlLink":"Add codeowners (#27)"}},{"before":"d59248cbb4cf8840c9720462f2569907b9506323","after":null,"ref":"refs/tags/v3.0.0","pushedAt":"2024-01-12T15:50:35.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"taalexander","name":"Thomas Alexander","path":"/taalexander","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1553846?s=80&v=4"}},{"before":"a75b8b7c7ce8f173aaa18d35404d57fa72fcf0c3","after":null,"ref":"refs/heads/release/v3.0","pushedAt":"2024-01-12T15:50:02.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"taalexander","name":"Thomas Alexander","path":"/taalexander","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1553846?s=80&v=4"}},{"before":null,"after":"a75b8b7c7ce8f173aaa18d35404d57fa72fcf0c3","ref":"refs/heads/release/v0.3","pushedAt":"2024-01-12T15:50:01.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"taalexander","name":"Thomas Alexander","path":"/taalexander","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1553846?s=80&v=4"},"commit":{"message":"Run pre-commit on all files (#26)\n\nSuccessor PR to #25. Disables commented out pre-commit checks and runs\r\n```\r\npre-commit run --all-files\r\n```\r\n\r\n---------\r\n\r\nCo-authored-by: Javier G. Sogo ","shortMessageHtmlLink":"Run pre-commit on all files (#26)"}},{"before":null,"after":"a75b8b7c7ce8f173aaa18d35404d57fa72fcf0c3","ref":"refs/heads/release/v3.0","pushedAt":"2024-01-12T15:47:21.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"taalexander","name":"Thomas Alexander","path":"/taalexander","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1553846?s=80&v=4"},"commit":{"message":"Run pre-commit on all files (#26)\n\nSuccessor PR to #25. Disables commented out pre-commit checks and runs\r\n```\r\npre-commit run --all-files\r\n```\r\n\r\n---------\r\n\r\nCo-authored-by: Javier G. Sogo ","shortMessageHtmlLink":"Run pre-commit on all files (#26)"}},{"before":"0c524612fd23ad55a9106827049315adc82d3b7d","after":"a75b8b7c7ce8f173aaa18d35404d57fa72fcf0c3","ref":"refs/heads/main","pushedAt":"2024-01-08T20:29:21.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"taalexander","name":"Thomas Alexander","path":"/taalexander","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1553846?s=80&v=4"},"commit":{"message":"Run pre-commit on all files (#26)\n\nSuccessor PR to #25. Disables commented out pre-commit checks and runs\r\n```\r\npre-commit run --all-files\r\n```\r\n\r\n---------\r\n\r\nCo-authored-by: Javier G. Sogo ","shortMessageHtmlLink":"Run pre-commit on all files (#26)"}},{"before":"5ddf1cc7ad234fc58dcb36242be56f7fe8eb711d","after":"0c524612fd23ad55a9106827049315adc82d3b7d","ref":"refs/heads/main","pushedAt":"2024-01-08T19:19:07.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"taalexander","name":"Thomas Alexander","path":"/taalexander","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1553846?s=80&v=4"},"commit":{"message":"Add conan packaging, static code checks and updated CI (#25)\n\nThis a large porting PR that adds\r\n- An updated Readme\r\n- A conan package for the parser.\r\n- Static code checks (currently formatting is disabled as I wanted to\r\nlimit the code changes in this PR) with pre-commit\r\n- CI support for\r\n - Static code checks\r\n - Package creation\r\n - Package testing\r\n - Caching\r\n\r\n---------\r\n\r\nCo-authored-by: Javier G. Sogo ","shortMessageHtmlLink":"Add conan packaging, static code checks and updated CI (#25)"}},{"before":"d59248cbb4cf8840c9720462f2569907b9506323","after":"5ddf1cc7ad234fc58dcb36242be56f7fe8eb711d","ref":"refs/heads/main","pushedAt":"2024-01-02T18:11:10.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"taalexander","name":"Thomas Alexander","path":"/taalexander","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1553846?s=80&v=4"},"commit":{"message":"Add release/versioning policies (#24)\n\nThis PR ports versioning/release policies to the Readme.\r\n\r\n---------\r\n\r\nCo-authored-by: Blake Johnson ","shortMessageHtmlLink":"Add release/versioning policies (#24)"}},{"before":"e53743096f2e9decd783cc9a81283dc9eeaad191","after":null,"ref":"refs/heads/brj/minor-readme-changes","pushedAt":"2023-12-21T18:46:08.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"blakejohnson","name":"Blake Johnson","path":"/blakejohnson","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/866695?s=80&v=4"}},{"before":"b494a38c409d370ec3611a2d058ec95e0ccf9b4c","after":"d59248cbb4cf8840c9720462f2569907b9506323","ref":"refs/heads/main","pushedAt":"2023-12-21T18:46:02.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"blakejohnson","name":"Blake Johnson","path":"/blakejohnson","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/866695?s=80&v=4"},"commit":{"message":"Minor updates to the README. (#22)\n\nPreparing to rename to qe-qasm.","shortMessageHtmlLink":"Minor updates to the README. (#22)"}},{"before":null,"after":"e53743096f2e9decd783cc9a81283dc9eeaad191","ref":"refs/heads/brj/minor-readme-changes","pushedAt":"2023-12-21T15:07:28.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"blakejohnson","name":"Blake Johnson","path":"/blakejohnson","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/866695?s=80&v=4"},"commit":{"message":"Minor updates to the README.","shortMessageHtmlLink":"Minor updates to the README."}},{"before":"e31c68eedacfd82e6bb5022d94002298e8a4cc04","after":null,"ref":"refs/heads/diag-raw-location","pushedAt":"2023-11-17T18:44:02.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"bcdonovan","name":"Brian Donovan","path":"/bcdonovan","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1385694?s=80&v=4"}},{"before":"c7609a43444e3908dc3139c28213eb5480b652ac","after":"b494a38c409d370ec3611a2d058ec95e0ccf9b4c","ref":"refs/heads/main","pushedAt":"2023-11-13T14:14:56.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"steleman","name":"Stefan Teleman","path":"/steleman","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5975991?s=80&v=4"},"commit":{"message":"- Fix for Issue #21: If not allowed after switch statement.\n- String bitset initializer length must match the bitset width.","shortMessageHtmlLink":"- Fix for Issue #21: If not allowed after switch statement."}},{"before":"8758ba90c29e8337a2cf0bfb5d6e4086701c5048","after":"c7609a43444e3908dc3139c28213eb5480b652ac","ref":"refs/heads/main","pushedAt":"2023-10-31T15:39:51.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"steleman","name":"Stefan Teleman","path":"/steleman","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5975991?s=80&v=4"},"commit":{"message":"- Fix for Issue #19: Simplify the discovery of an Induction Variable\n\n For an ASTIdentifierNode you can now do:\n // assuming an ASTIdentifierNode* Id;\n if (Id->IsInductionVariable()) {\n // do something here.\n }\n\n For an ASTIdentifierRefNode you can now do:\n // assuming an ASTIdentifierRefNode* IdR;\n if (IdR->IsInductionVariable()) {\n const ASTIdentifierNode* IVd = IdR->GetInductionVariable();\n // IVd is the ASTIdentifierNode used as an Induction Variable.\n // do something here.\n }\n\n An ASTIdentifierRefNode can also be indexed on a variable (identifier).\n For this case, you can now do:\n // assuming an ASTIdentifierRefNode* IdR;\n if (const ASTIdentifierNode* IXd = IdR->GetIndexedIdentifier()) {\n // IXd is the ASTIdentifierNode that is used as an index.\n }\n\n For an ASTIdentifierRefNode you can obtain the ASTArraySubscript Node:\n // assuming an ASTIdentifierRefNode* IdR;\n const ASTArraySubscriptNode* ASN = IdR->GetArraySubscriptNode();\n\n // Now you can obtain either the Induction Variable Identifier or\n // the array subscript Index Identifier by doing either of:\n const ASTIdentifierNode* IdV = ASN->GetInductionVariable();\n const ASTIdentifierNode* IxD = ASN->GetIndexIdentifier();\n\n An ASTArraySubscriptNode can be tested if it's based on an Induction Variable\n or an Indexed Identifier:\n\n const ASTArraySubscriptNode* ASN = IdR->GetArraySubscriptNode();\n if (ASN->IsInductionVariable()) {\n const ASTIdentifierNode* IdV = ASN->GetInductionVariable();\n // do something here.\n }\n\n if (ASN->IsIndexIdentifier()) {\n const ASTIdentifierNode* IxD = ASN->GetIndexIdentifier();\n // do something here.\n }\n\n Please note that ASTArraySubscriptNode::IsInductionVariable() will return\n true if and only if its Index Identifier is indeed an Induction Variable\n (inside a for loop). Otherwise its Index Identifier will always be just\n an SSA Identifier (if the indexing is based on an Identifier).","shortMessageHtmlLink":"- Fix for Issue #19: Simplify the discovery of an Induction Variable"}},{"before":"56aa9aaf7d6dbc39dceb6dde164642ead149d1f5","after":"8758ba90c29e8337a2cf0bfb5d6e4086701c5048","ref":"refs/heads/main","pushedAt":"2023-09-06T13:23:14.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"steleman","name":"Stefan Teleman","path":"/steleman","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5975991?s=80&v=4"},"commit":{"message":"Issue #18: qss-qasm must build the complete Graph for nested conditionals:\n- The entire graph of conditional branch(es) can be retrieved from\n the ASTIfStatementNode.\n- Added tests exercising nested conditional branches.","shortMessageHtmlLink":"Issue #18: qss-qasm must build the complete Graph for nested conditio…"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"Y3Vyc29yOnYyOpK7MjAyNC0wNy0yOVQxMjowNTo1NC4wMDAwMDBazwAAAASL2SDW","startCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wNy0yOVQxMjowNTo1NC4wMDAwMDBazwAAAASL2SDW","endCursor":"Y3Vyc29yOnYyOpK7MjAyMy0wOS0wNlQxMzoyMzoxNC4wMDAwMDBazwAAAAN6ne3L"}},"title":"Activity · openqasm/qe-qasm"}