// Numbas version: finer_feedback_settings {"name": "Example", "extensions": ["linear-algebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Example", "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "
Define the matrix of a pauli x gate
", "advice": "Consider the notes
", "rulesets": {}, "extensions": ["linear-algebra"], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"Pauli_X_Gate": {"name": "Pauli_X_Gate", "group": "Ungrouped variables", "definition": "0 .. 1#1", "description": "", "templateType": "range", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["Pauli_X_Gate"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "matrix", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "Write a Pauli x gate
", "correctAnswer": "matrix([[0,1],[1,0]])", "correctAnswerFractions": false, "numRows": "2", "numColumns": "2", "allowResize": true, "tolerance": 0, "markPerCell": true, "allowFractions": false, "minColumns": 1, "maxColumns": 0, "minRows": 1, "maxRows": "0", "prefilledCells": ""}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question", "contributors": [{"name": "Ayman Mulla", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21701/"}]}]}], "contributors": [{"name": "Ayman Mulla", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21701/"}]}