Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions test/qdmi/devices/dd/helpers/circuits.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,13 @@ cx q[0], q[1];
// Measure all qubits
c = measure q;
// Add dynamic component
if (c == 3) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is valid OpenQASM 3, is it not?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes you're right and this should be fixed by #2181. Closing this workaround for now.

if (c[0]) {
rx(0.7) q[0];
ry(0.5) q[1];
rz(1.1) q[2];
ry(0.3) q[3];
rx(0.9) q[4];
}
// Measure all qubits again
c = measure q;
)";

} // namespace qdmi_test
Loading