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

Rename "ch" method to "extended_stabilizer" #118

Merged
merged 2 commits into from
Apr 3, 2019

Conversation

chriseclectic
Copy link
Member

Summary

  • Renames the "ch" QasmSimulator method to more descriptive "extended_stabilizer" method and updates options and tests to use this new convention.
  • Updates CH::Runner OpenMP loops to be compatible with windows OpenMP 2.0.

@padraic-padraic I can't add you as a reviewer here, but could you look at these changes?

Details and comments

@chriseclectic chriseclectic requested a review from atilag as a code owner April 2, 2019 18:32
@chriseclectic chriseclectic changed the title Rename ch Rename "ch" method to "extended_stabilizer" Apr 2, 2019
Copy link
Member

@atilag atilag left a comment

Choose a reason for hiding this comment

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

LGTM!

#pragma omp parallel for if(num_states_ > omp_threshold_ && num_threads_ > 1) num_threads(num_threads_)
for(uint_t i=0; i<num_states_; i++)
for(int_t i=0; i<END; i++)
Copy link
Member

Choose a reason for hiding this comment

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

I'd rather having a static_cast<int_t>(num_states_) than using another variable with different semantic meaningEND != num_states_

@chriseclectic chriseclectic added this to the 0.2 milestone Apr 3, 2019
@chriseclectic chriseclectic merged commit aa726cc into Qiskit:master Apr 3, 2019
@chriseclectic chriseclectic deleted the rename-ch branch April 30, 2019 20:12
dcmckayibm pushed a commit to dcmckayibm/qiskit-aer that referenced this pull request Nov 3, 2019
Rename "ch" method to "extended_stabilizer"
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