0.8.0
Interface Changes¶
- Modify the
GroundStateProblem
object. MoveHamiltonianReduction
object fields to be direct fields of theGroundStateProblem
object. See Chemistry. - Deprecate the
VQEOptimization
class. Its fields are now part of theOptimizerPreferences
class. - For combinatorial optimization, use
CombinatorialOptimizer
instead ofOptimizationPreferences
. For chemistry, useGroundStateOptimizer
instead ofOptimizationPreferences
.
Bug Fixes¶
- Remove the requirement to end the expression with "==1" when using the ArithmeticOracle inside a GroverOperator, if the expression has a Boolean value (i.e., when solving a SAT problem). This saves one qubit in the circuit.
- Fix bugs in the analyzer, related to circuits with functions and
qregs
.
New Features¶
- Add the UCC (Unitary Coupled Cluster) function. See Chemistry.
- Add the exponentiation function to the builtin functions. See Exponentiation.
- Create a new file when generating a circuit using VS Code. It contains the transpiled circuit in a
.qasm
format. - Format the gate definitions in OpenQASM2 output by default (add line breaks inside). To disable this feature, add these options to the Python SDK:
model_designer.preferences.pretty_qasm = False
And the VSCode extension (.qmod
) file:
{
"preferences": {
"pretty_qasm": false
}
}