{
  "name": "Virtual Lab: New Experiment",
  "grid": {
    "width": 13,
    "height": 10,
    "pieces": [
      {
        "coord": {
          "x": 0,
          "y": 6
        },
        "flags": 3,
        "states": [
          {
            "type": "Polarizer",
            "rotation": 3,
            "absorption": 1
          }
        ]
      },
      {
        "coord": {
          "x": 0,
          "y": 9
        },
        "flags": 3,
        "states": [
          {
            "type": "Mirror",
            "rotation": 5
          }
        ]
      },
      {
        "coord": {
          "x": 1,
          "y": 8
        },
        "flags": 3,
        "states": [
          {
            "type": "Mirror",
            "rotation": 6
          }
        ]
      },
      {
        "coord": {
          "x": 1,
          "y": 9
        },
        "flags": 3,
        "states": [
          {
            "type": "GHZWSource",
            "active": true,
            "rotation": 0,
            "threeQubitState": "GHZ",
            "wavelengths": [
              "Red",
              "Red",
              "Red"
            ]
          }
        ]
      },
      {
        "coord": {
          "x": 7,
          "y": 5
        },
        "flags": 3,
        "states": [
          {
            "type": "Mirror",
            "rotation": 6
          }
        ]
      },
      {
        "coord": {
          "x": 7,
          "y": 8
        },
        "flags": 3,
        "states": [
          {
            "type": "Mirror",
            "rotation": 6
          }
        ]
      },
      {
        "coord": {
          "x": 8,
          "y": 1
        },
        "flags": 1,
        "states": [
          {
            "type": "Goal",
            "range": [
              0,
              1
            ]
          }
        ]
      },
      {
        "coord": {
          "x": 8,
          "y": 7
        },
        "flags": 3,
        "states": [
          {
            "type": "Detector",
            "rotation": 0,
            "cartoonStyle": true,
            "detectAllDirections": false
          }
        ]
      },
      {
        "coord": {
          "x": 9,
          "y": 5
        },
        "flags": 3,
        "states": [
          {
            "type": "PolarizingBeamSplitter",
            "rotation": 1,
            "reflectance": 1
          }
        ]
      },
      {
        "coord": {
          "x": 9,
          "y": 7
        },
        "flags": 3,
        "states": [
          {
            "type": "BeamSplitter",
            "rotation": 6,
            "reflectance": 0.5,
            "reflectionPhase": 0.5
          }
        ]
      },
      {
        "coord": {
          "x": 9,
          "y": 8
        },
        "flags": 3,
        "states": [
          {
            "type": "Detector",
            "rotation": 1,
            "cartoonStyle": true,
            "detectAllDirections": false
          }
        ]
      },
      {
        "coord": {
          "x": 11,
          "y": 1
        },
        "flags": 1,
        "states": [
          {
            "type": "Goal",
            "range": [
              0,
              1
            ]
          }
        ]
      },
      {
        "coord": {
          "x": 11,
          "y": 4
        },
        "flags": 3,
        "states": [
          {
            "type": "Detector",
            "rotation": 3,
            "cartoonStyle": true,
            "detectAllDirections": false
          }
        ]
      },
      {
        "coord": {
          "x": 11,
          "y": 5
        },
        "flags": 3,
        "states": [
          {
            "type": "BeamSplitter",
            "rotation": 4,
            "reflectance": 0.5,
            "reflectionPhase": 0.5
          }
        ]
      },
      {
        "coord": {
          "x": 11,
          "y": 7
        },
        "flags": 3,
        "states": [
          {
            "type": "PolarizingBeamSplitter",
            "rotation": 1,
            "reflectance": 1
          }
        ]
      },
      {
        "coord": {
          "x": 11,
          "y": 9
        },
        "flags": 3,
        "states": [
          {
            "type": "Mirror",
            "rotation": 6
          }
        ]
      }
    ],
    "wires": [
      {
        "src": 12,
        "dst": 11,
        "dst_input": 0
      },
      {
        "src": 7,
        "dst": 6,
        "dst_input": 0
      }
    ]
  },
  "version": "3"
}