Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Conversation

@bettinaheim
Copy link
Contributor

@bettinaheim bettinaheim commented Sep 7, 2020

This PR adds the handling of branching based on measurement results to SimulatorBase, exposing the virtual methods

  • StartBranchingBasedOnMeasurement,
  • ExecuteBranchingBasedOnMeasurement, and
  • EndBranchingBasedOnMeasurement.

The PR removes the duplicated logic in the QuantumSimulator and the Tracer.
It also fixes the incorrect event spawned by Borrow, and contains other minor changes regarding which members are virtual, private, and protected.

Since there are more PRs coming that impact the API, it may make sense to merge this to a feature branch. However, I am also trying to avoid having several feature branches with a large amount of changes that require coordination (the decomposition work comes to mind), and this change should be fairly lightweight.

Copy link
Collaborator

@swernli swernli left a comment

Choose a reason for hiding this comment

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

LGTM!

@microsoft-github-updates microsoft-github-updates bot changed the base branch from master to main September 9, 2020 07:52
@bettinaheim bettinaheim merged commit 75be986 into main Sep 10, 2020
@bettinaheim bettinaheim deleted the beheim/classicalControl branch September 10, 2020 23:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants