Expand description
C API for the Process
struct.
Functions§
- ket_
hamiltonian_ ⚠add - Adds a term to the
PauliHamiltonian
. - ket_
hamiltonian_ new - Creates a new
PauliHamiltonian
instance. - ket_
process_ adj_ begin - Begins an adjoint operation in the
Process
instance. - ket_
process_ adj_ end - Ends an adjoint operation in the
Process
instance. - ket_
process_ ⚠allocate_ aux - Safety
- ket_
process_ allocate_ qubit - Allocates a qubit for the
Process
instance. - ket_
process_ apply_ gate - Applies a quantum gate to the target
Qubit
in theProcess
instance. - ket_
process_ apply_ global_ phase - Applies a global phase.
- ket_
process_ ⚠approximated_ decomposition_ begin - Safety
- ket_
process_ ⚠approximated_ decomposition_ end - Safety
- ket_
process_ ⚠around_ begin - Safety
- ket_
process_ ⚠around_ end - Safety
- ket_
process_ ⚠around_ mid - Safety
- ket_
process_ ⚠around_ undo - Safety
- ket_
process_ ctrl_ pop - Pops control qubits from the control stack in the
Process
instance. - ket_
process_ ⚠ctrl_ push - Pushes control qubits onto the control stack in the
Process
instance. - ket_
process_ ⚠ctrl_ stack - Pushes control stack in the
Process
instance. - ket_
process_ ctrl_ unstack - Pops control stack from the
Process
instance. - ket_
process_ ⚠delete - Deletes the
Process
instance. - ket_
process_ ⚠dump - Dumps the state of the specified qubits in the
Process
instance. - ket_
process_ execute - Execute the
Process
. - ket_
process_ ⚠exp_ value - Calculates the expected value of the
PauliHamiltonian
in theProcess
instance. - ket_
process_ ⚠free_ aux - Safety
- ket_
process_ ⚠get_ gradient - Safety
- ket_
process_ ⚠instructions_ json - Gets the JSON representation of the logical instructions in the
Process
instance. - ket_
process_ ⚠is_ diagonal_ begin - Safety
- ket_
process_ ⚠is_ diagonal_ end - Safety
- ket_
process_ ⚠is_ permutation_ begin - Safety
- ket_
process_ ⚠is_ permutation_ end - Safety
- ket_
process_ ⚠isa_ instructions_ json - Gets the JSON representation of the physical instructions in the
Process
instance. - ket_
process_ ⚠load_ sim_ state - Safety
- ket_
process_ ⚠measure - Measures the specified qubits in the
Process
instance. - ket_
process_ ⚠metadata_ json - Gets the JSON representation of the metadata in the
Process
instance. - ket_
process_ ⚠new - Creates a new
Process
instance with the given process ID. - ket_
process_ prepare_ for_ execution - Prepares the
Process
instance for execution. - ket_
process_ ⚠sample - Samples the specified qubits in the
Process
instance. - ket_
process_ ⚠save_ sim_ state - Safety
- ket_
process_ ⚠set_ parameter - Safety