Environments with simulated people#

Gymnasium environments in which a simulated person answers questions with order effects or trusts the robot according to the trust qubit. The equations are on the mathematics page.

Legend: blue inputs, violet internal steps, green outputs, coral people, dashed grey classical baselines. Each entry is labelled by origin: Unique to Quantum Mind designed in this library; it builds on the methods cited with it, Published model, extended implements the cited model as published; Quantum Mind adds the capabilities listed, Published method implements the cited method as published, Software tool infrastructure rather than a model; and by category: Quantum-like quantum probability used to model people; runs on an ordinary computer, Quantum computing quantum circuits; run on the simulator or sent to quantum hardware, Classical classical statistics, decision theory or baselines, Mixed combines parts from more than one of these categories.

Clarification environment#

Unique to Quantum Mind Quantum-like

Resolve an ambiguous request by asking yes/no questions (order-dependent answers), then act.

        flowchart LR
    accTitle: Block diagram of Clarification environment
    accDescr: Resolve an ambiguous request by asking yes/no questions (order-dependent answers), then act.
    ag["agent"]:::op -->|ask q| P["simulated person<br/>projective answers"]:::hum -->|±1| obs["answers so far"]:::in --> ag
    ag -->|act on object| R["reward: +1 right · −5 wrong<br/>−0.3 per question"]:::out
    classDef in fill:#0b2a4a,stroke:#79c0ff,color:#e6edf3
    classDef op fill:#2a1b3d,stroke:#d2a8ff,color:#e6edf3
    classDef out fill:#0f2e1a,stroke:#7ee787,color:#e6edf3
    classDef hum fill:#3d1414,stroke:#ff7b72,color:#e6edf3
    classDef base fill:#262626,stroke:#8b949e,color:#e6edf3,stroke-dasharray:4 3
    
  • API: ClarificationEnv

  • Origin: Unique to Quantum Mind: designed in this library; it builds on the methods cited with it.

  • Category: Quantum-like: quantum probability used to model people; runs on an ordinary computer.

  • Reference: Towers, M., et al. (2024). Gymnasium. arXiv:2407.17032.

Trust hand-over environment#

Unique to Quantum Mind Quantum-like

Hand objects to a person whose trust follows the trust qubit; a new simulated person can be drawn for every episode from the uncertainty of a fitted model.

        flowchart LR
    accTitle: Block diagram of Trust hand-over environment
    accDescr: Hand objects to a person whose trust follows the trust qubit; a new simulated person can be drawn for every episode from the uncertainty of a fitted model.
    ag["agent"]:::op -->|hand over · slow · ask · wait| P["person: trust qubit"]:::hum
    P --> o["outcome · answer"]:::in --> ag
    P --> R["reward: − failure, slow, ask, wait costs"]:::out
    classDef in fill:#0b2a4a,stroke:#79c0ff,color:#e6edf3
    classDef op fill:#2a1b3d,stroke:#d2a8ff,color:#e6edf3
    classDef out fill:#0f2e1a,stroke:#7ee787,color:#e6edf3
    classDef hum fill:#3d1414,stroke:#ff7b72,color:#e6edf3
    classDef base fill:#262626,stroke:#8b949e,color:#e6edf3,stroke-dasharray:4 3
    
  • API: TrustHandoverEnv, sample_people()

  • Origin: Unique to Quantum Mind: designed in this library; it builds on the methods cited with it.

  • Category: Quantum-like: quantum probability used to model people; runs on an ordinary computer.