Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: add clifford support for pyquafa #123

Closed
wants to merge 0 commits into from

Conversation

lucky9-cyou
Copy link
Contributor

@lucky9-cyou lucky9-cyou marked this pull request as draft December 14, 2023 08:48
@lucky9-cyou lucky9-cyou marked this pull request as ready for review December 15, 2023 08:21
Comment on lines 160 to 168
auto measure_all() {
measurement_record mr;
for (size_t i = 0; i < sim_tableau.num_qubits; i++) {
auto record = sim_tableau.m_gate(rng, i);
if (record.has_value())
mr.record(record.value());
}
return mr;
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Just a very minor issue, the indents should be unified with other codes

Copy link
Contributor Author

Choose a reason for hiding this comment

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

add pre-commit for format problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants