Reference states
Halaman ini belum diterjemahkan. Anda sedang melihat versi asli dalam bahasa Inggris.
In this lesson, we will explore how we can initialize our system with a reference state to help our variational algorithm converge faster. First, we will learn how to construct a reference state manually, and then explore several standard options that can be used in a variational algorithm.
Default state
A reference state refers to the initial fixed start for our problem. To prepare a reference state, we need to apply the appropriate, non-parametrized unitary at the start of our quantum circuit, such that . If you have an educated guess or datapoint from an existing optimal solution, the variational algorithm will likely converge faster if you use that as a starting point.
The simplest possible reference state is the default state, where we use the starting state of an -qubit quantum circuit: . For the default state, our unitary operator . Due to its simplicity, the default state is a valid reference state used in many scenarios.
Classical reference state
Suppose you have a three-qubit system and you want to start in the state instead of the default state . This is an example of a purely classical reference state, and to construct it, you simply need to apply an X gate to qubit (following Qiskit's qubit ordering), as .
In this case, our unitary operator is