-
Notifications
You must be signed in to change notification settings - Fork 10
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
Merge QuantumCircuit backend written in Rust #363
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* QuriPartsGates -> QuriPartsGate * Fix spell
…GenericGateProperty) Add parameter id to MaybeUnbound Add gates_and_params Change ParametricQuantumGate Use id() when comparing Parameter
* Implement get_cbits * Helper closures for 1q gates * Replace a closure with an inline function Co-authored-by: yozu <taiseiozu@gmail.com> * Helpers for 1q rotation gates * Add non-parametric 1q gates (#222) * Add non-parametric 1q gates * Remove unnecessary lifetime parameters * Update gates.pyi --------- Co-authored-by: yozu <taiseiozu@gmail.com>
Add UnitaryMatrix Pickle support for QuantumCircuit, ImmutableQuantimCircuit
generarize parametric transpiler
Fast gate comparation Implement ImmutableQuantumCircuit and ImmutableParametricQuantumCircuit Deprecate names Remove base classes Add id comparison
🚀 Deployed on https://deploy-preview-363--quri-parts.netlify.app |
kwkbtr
approved these changes
Oct 21, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, good job!
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In 2024, we will release a new quantum circuit backend. This will provide users with a faster experience in quantum circuit generation and transpilation. Circuit generation and transpilation are crucial use cases for QURI Parts. For example, in workflows where generating large ansatz circuits or creating numerous instances of quantum circuits while varying parameters is required, the speed of quantum circuits is of paramount importance. This update will offer significant benefits to QURI Parts users, further solidifying QURI Parts' performance advantage over other libraries.
Additionally, as the user base of QURI Parts expands, this update makes QURI Parts easier to use. We have restructured the class design, which was previously considered complex, to make it more intuitive. For example, QuantumCircuit, which was previously a completely separate class from ImmutableQuantumCircuit, is now a subclass of ImmutableQuantumCircuit. This is because QuantumCircuit supports all the operations of ImmutableQuantumCircuit, in addition to allowing updates to the circuit. We have also shortened some of the longer class names to make them easier to understand. These changes have been made carefully to ensure backward compatibility. While the old class names are now deprecated, they can still be used.
Key features
Natively implemented classes
quri_parts.circuit.{circuit, circuit_parametric, gate, gates, noise}
Parametric transpiler support
ParametricTranspiler
class, which allows to apply transpiler on ParametricQuantumCircuit directlyCircuitTranspiler
withParametricCircuitTranspiler
Class structure update, class names modification