VSCF

class VSCF(num_modals=None, qubit_mapper=None)[source]

Bases: BlueprintCircuit

Initial state for vibrational modes.

Creates an occupation number vector as defined in [1]. As example, for 2 modes with 4 modals per mode it creates: \(|1000 1000\rangle\).

References

[1] Ollitrault Pauline J., Chemical science 11 (2020): 6842-6855.

Parameters:
  • num_modals (list[int] | None) – Is a list defining the number of modals per mode. E.g. for a 3 modes system with 4 modals per mode num_modals = [4,4,4]

  • qubit_mapper (QubitMapper | None) – a QubitMapper. This argument is currently being ignored because only a single use-case is supported at the time of release: that of the DirectMapper. However, for future-compatibility of this functions signature, the argument has already been inserted.

Attributes

num_modals

The number of modals per mode.

qubit_mapper

The qubit mapper.

name: str

A human-readable name for the circuit.

Example

from qiskit import QuantumCircuit

qc = QuantumCircuit(2, 2, name="my_circuit")
print(qc.name)

(Source code)

my_circuit

Methods