Skip to content

Krylov dimension vs. number of Trotter stepsΒ #4471

@neumannrf

Description

@neumannrf

URL to the relevant course

https://quantum.cloud.ibm.com/learning/en/courses/quantum-diagonalization-algorithms/krylov#41-step-1-map-problem-to-quantum-circuits-and-operators

Select all that apply

  • new content request
  • typo
  • code bug
  • out-of-date content
  • broken link
  • other

Describe the fix or the content request.

The text says

Let us specify the maximum Krylov dimension we wish to use, though we will check for convergence at smaller dimensions. We also specify the number of Trotter steps to use in the time evolution. In this case, we set the Krylov dimension to be equal to the number of Trotter steps plus one. This is consistent with generating an additional Krylov vector with each application of U, plus the initial vector.

but then we define

krylov_dim = 5
num_trotter_steps = 6

which is inconsistent with the text.

My suggested fix would be to swap the numbers.

krylov_dim = 6
num_trotter_steps = 5

For new content requests - if the request is accepted, do you want to write the content?

I will write (or already have written) a draft of the proposed content

Metadata

Metadata

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions