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

Circuit exporter #10

Open
vasinov opened this issue Jun 6, 2019 · 0 comments
Open

Circuit exporter #10

vasinov opened this issue Jun 6, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@vasinov
Copy link
Member

vasinov commented Jun 6, 2019

Users should be able to export their circuits either with a custom QuantumContext implementation or a new abstraction (e.g., QuantumExporter).

If we decide to go down the path of extending QuantumContext then run's signature should change to something like:

sealed trait Result
trait State extends Result
trait ExportedCircuit extends Result

case class QuantumContext[T <: Result] {
  run(): T
 // ...
}

Might be a better idea to just have QuantumExporter, since it's enough of a separate use case.

Initial exporter implementations should have Quil and OpenQASM support.

@vasinov vasinov added the enhancement New feature or request label Jun 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant