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

Segmentation fault when assigning several cbit values #30

Open
vadym-kl opened this issue Nov 10, 2018 · 0 comments
Open

Segmentation fault when assigning several cbit values #30

vadym-kl opened this issue Nov 10, 2018 · 0 comments

Comments

@vadym-kl
Copy link

The following code

int main() {
    qbit q[2];
    cbit mres[2];
    mres[0] = MeasZ(q[0]);
    mres[1] = MeasZ(q[1]);
    if( mres[0] == 1 ) { Z(q[0]); }
    if( mres[1] == 1) { X(q[1]); }
    return 0;
}

casues segementation fault when running both scaffold.sh and scaffold.sh -f on epiqc/scaffcc Docker image.

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

No branches or pull requests

1 participant