-
Notifications
You must be signed in to change notification settings - Fork 8
Utility function: "wrap" a kernel #331
Copy link
Copy link
Open
Labels
area: stdlibArea: standard library related issues.Area: standard library related issues.category: enhancementCategory: this is an enhancement of an existing feature.Category: this is an enhancement of an existing feature.priority: lowPriority: low priority issues and tasks, backlogs, good-to-haves.Priority: low priority issues and tasks, backlogs, good-to-haves.
Metadata
Metadata
Assignees
Labels
area: stdlibArea: standard library related issues.Area: standard library related issues.category: enhancementCategory: this is an enhancement of an existing feature.Category: this is an enhancement of an existing feature.priority: lowPriority: low priority issues and tasks, backlogs, good-to-haves.Priority: low priority issues and tasks, backlogs, good-to-haves.
Type
Fields
Give feedbackNo fields configured for issues without a type.
A utility function that encapsulates some kernel that operates on qubits.
For example, if you have some kernel with a signature
aka acting on some list of qubits as a unitary or other operation, make a utility function that "wraps" that for ease of simulation so that one does not need to write the following code snippet every time
where ##, the number of qubits, is computed by evaluating the required number of input qubits in
kernelor is set as a variable in the wrapper (nqubits = ###).