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

Feature: provide RNG seed for StructuredState simulations #114

Merged
merged 4 commits into from
May 16, 2024

Conversation

PabloAndresCQ
Copy link
Collaborator

@PabloAndresCQ PabloAndresCQ commented May 15, 2024

Checklist

  • I have run the tests on a device with GPUs.
  • I have performed a self-review of my code.
  • I have commented hard-to-understand parts of my code.
  • I have made corresponding changes to the public API documentation.
  • I have added tests that prove my fix is effective or that my feature works.
  • I have updated the changelog with any user-facing changes.

all_outcomes.append(outcomes_0)

# Check that the outcomes change between different samples
assert not all(outcome == outcomes_0 for outcome in all_outcomes)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Is this behaviour what you expected from the docstring in Config?

I'm also keen to hear if this seems intuitive to you (particularly around the behaviour when copying an MPS).

Copy link
Collaborator

Choose a reason for hiding this comment

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

Looks like expected to me.

@PabloAndresCQ PabloAndresCQ marked this pull request as ready for review May 15, 2024 17:31
@PabloAndresCQ PabloAndresCQ requested a review from cqc-melf May 15, 2024 17:31
all_outcomes.append(outcomes_0)

# Check that the outcomes change between different samples
assert not all(outcome == outcomes_0 for outcome in all_outcomes)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Looks like expected to me.

@PabloAndresCQ PabloAndresCQ merged commit db57d6b into develop May 16, 2024
8 checks passed
@PabloAndresCQ PabloAndresCQ deleted the feature/provide_rng_seed branch May 16, 2024 13:56
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