Skip to content

Consistently call things "state_vector" #2143

@peterse

Description

@peterse

Nitpick: Its hard to keep track of how a method acting on [an object representing a discrete quantum state] is named. This may cause confusion and also stymie autocomplete.

Right now, functions in wave_function.py are named like "state vector" or just "state", while Circuit.final_wavefunction, PauliStrings, PauliSums, and a few linalg transformations are named like "wavefunction". (I acknowledge that this inconsistency has gotten a lot worse following some of my own recent PRs :/ )

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions