Expand description
C API for the Process struct.
Functions§
- ket_
hamiltonian_ ⚠add - Adds a term to the
PauliHamiltonian. - ket_
hamiltonian_ new - Creates a new
PauliHamiltonianinstance. - ket_
process_ adj_ begin - Begins an adjoint operation in the
Processinstance. - ket_
process_ adj_ end - Ends an adjoint operation in the
Processinstance. - ket_
process_ allocate_ qubit - Allocates a qubit for the
Processinstance. - ket_
process_ apply_ gate - Applies a quantum gate to the target
Qubitin theProcessinstance. - ket_
process_ apply_ global_ phase - Applies a global phase.
- ket_
process_ ctrl_ pop - Pops control qubits from the control stack in the
Processinstance. - ket_
process_ ⚠ctrl_ push - Pushes control qubits onto the control stack in the
Processinstance. - ket_
process_ ⚠ctrl_ stack - Pushes control stack in the
Processinstance. - ket_
process_ ctrl_ unstack - Pops control stack from the
Processinstance. - ket_
process_ ⚠delete - Deletes the
Processinstance. - ket_
process_ ⚠dump - Dumps the state of the specified qubits in the
Processinstance. - ket_
process_ execute - Prepares the
Processinstance for execution. - ket_
process_ ⚠exp_ value - Calculates the expected value of the
PauliHamiltonianin theProcessinstance. - ket_
process_ ⚠instructions_ json - Gets the JSON representation of the logical instructions in the
Processinstance. - ket_
process_ ⚠isa_ instructions_ json - Gets the JSON representation of the physical instructions in the
Processinstance. - ket_
process_ ⚠measure - Measures the specified qubits in the
Processinstance. - ket_
process_ ⚠metadata_ json - Gets the JSON representation of the metadata in the
Processinstance. - ket_
process_ ⚠new - Creates a new
Processinstance with the given process ID. - ket_
process_ ⚠sample - Samples the specified qubits in the
Processinstance. - ket_
process_ transpile