Skip to content

Conversation

@daxfohl
Copy link
Collaborator

@daxfohl daxfohl commented May 2, 2022

More public field and mutability removal

@daxfohl daxfohl requested review from a team, cduck and vtomole as code owners May 2, 2022 17:51
@daxfohl daxfohl requested a review from dabacon May 2, 2022 17:51
@CirqBot CirqBot added the size: M 50< lines changed <250 label May 2, 2022
@daxfohl daxfohl changed the title Encap public fields from Step/Trial Result Encap public fields in cirq.sim May 3, 2022
@daxfohl
Copy link
Collaborator Author

daxfohl commented May 11, 2022

@95-martin-orion does this work?

Copy link
Collaborator

@95-martin-orion 95-martin-orion left a comment

Choose a reason for hiding this comment

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

Yes, this should privatize these fields nicely.

@95-martin-orion 95-martin-orion merged commit 21eb8f7 into quantumlib:master May 11, 2022
@daxfohl daxfohl deleted the privatevars branch May 19, 2022 17:25
rht pushed a commit to rht/Cirq that referenced this pull request May 1, 2023
* Hide public fields from Step/Trial Reesult

* Also encap noise field
harry-phasecraft pushed a commit to PhaseCraft/Cirq that referenced this pull request Oct 31, 2024
* Hide public fields from Step/Trial Reesult

* Also encap noise field
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size: M 50< lines changed <250

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants