Expand description
C API for the Process struct.
Functions§
- Adds a term to the
PauliHamiltonian. - Creates a new
PauliHamiltonianinstance. - Begins an adjoint operation in the
Processinstance. - Ends an adjoint operation in the
Processinstance. - Allocates a qubit for the
Processinstance. - Applies a quantum gate to the target
Qubitin theProcessinstance. - Applies a global phase.
- Pops control qubits from the control stack in the
Processinstance. - Pushes control qubits onto the control stack in the
Processinstance. - Pushes control stack in the
Processinstance. - Pops control stack from the
Processinstance. - Deletes the
Processinstance. - Dumps the state of the specified qubits in the
Processinstance. - Prepares the
Processinstance for execution. - Calculates the expected value of the
PauliHamiltonianin theProcessinstance. - Gets the JSON representation of the logical instructions in the
Processinstance. - Gets the JSON representation of the physical instructions in the
Processinstance. - Measures the specified qubits in the
Processinstance. - Gets the JSON representation of the metadata in the
Processinstance. - Creates a new
Processinstance with the given process ID. - Samples the specified qubits in the
Processinstance.